Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005927/0.0005931, allocations: 13.53 kB / 0.6735 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2791, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.001976/0.2811, allocations: 1.332 MB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008378/0.282, allocations: 0.543 MB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.2821, allocations: 0 / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.2823, allocations: 27.78 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.2825, allocations: 55.86 kB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.2827, allocations: 55.92 kB / 0.7891 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.2828, allocations: 87.7 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.283, allocations: 41.47 kB / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2831, allocations: 43.78 kB / 0.7892 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.386e-05/0.2832, allocations: 43.77 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.2832, allocations: 4 kB / 0.7893 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.366e-05/0.2832, allocations: 11.94 kB / 0.7893 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.2833, allocations: 35.89 kB / 0.7893 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.2834, allocations: 41.64 kB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.2835, allocations: 108 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.2835, allocations: 0 / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.31e-07/0.2835, allocations: 0 / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2835, allocations: 0 / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005646/0.2841, allocations: 450.6 kB / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2841, allocations: 8.031 kB / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.2842, allocations: 23.72 kB / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.2845, allocations: 231.7 kB / 0.7902 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2845, allocations: 3.938 kB / 0.7902 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.2845, allocations: 8 kB / 0.7902 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.2848, allocations: 113.6 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.2848, allocations: 4 kB / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.2848, allocations: 4 kB / 0.7903 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2849, allocations: 0 / 0.7903 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.2851, allocations: 75.94 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.2857, allocations: 396.4 kB / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.2858, allocations: 50.55 kB / 0.7908 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.2859, allocations: 0 / 0.7908 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.2861, allocations: 109 kB / 0.7909 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2861, allocations: 4 kB / 0.7909 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004303/0.2866, allocations: 141.4 kB / 0.791 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.2866, allocations: 77.11 kB / 0.7911 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.2869, allocations: 253 kB / 0.7913 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.2869, allocations: 29.64 kB / 0.7914 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.287, allocations: 136 kB / 0.7915 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.287, allocations: 7.891 kB / 0.7915 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.287, allocations: 0 / 0.7915 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2871, allocations: 330.8 kB / 0.7918 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.2873, allocations: 39.91 kB / 0.7919 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.2874, allocations: 55.41 kB / 0.7919 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.2875, allocations: 35.97 kB / 0.7919 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2875, allocations: 0 / 0.7919 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003031/0.2878, allocations: 117.4 kB / 0.7921 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2878, allocations: 11.89 kB / 0.7921 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2879, allocations: 4 kB / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2879, allocations: 0 / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.288, allocations: 20.08 kB / 0.7921 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.288, allocations: 0 / 0.7921 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.896e-05/0.2881, allocations: 23.98 kB / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.2881, allocations: 0 / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.2882, allocations: 129.8 kB / 0.7922 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.2882, allocations: 19.72 kB / 0.7923 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.2883, allocations: 29.19 kB / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2883, allocations: 4 kB / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2883, allocations: 0 / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2883, allocations: 0 / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.2885, allocations: 209.6 kB / 0.7925 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2885, allocations: 0 / 0.7925 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.2886, allocations: 15.98 kB / 0.7925 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.2886, allocations: 0 / 0.7925 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2886, allocations: 0 / 0.7925 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2886, allocations: 7.953 kB / 0.7925 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2886, allocations: 4 kB / 0.7925 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.2889, allocations: 136.9 kB / 0.7926 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.2889, allocations: 97.19 kB / 0.7927 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.289, allocations: 0 / 0.7927 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.2891, allocations: 15.98 kB / 0.7927 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.2891, allocations: 11.88 kB / 0.7928 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.2891, allocations: 15.92 kB / 0.7928 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001481/0.2893, allocations: 188.5 kB / 0.793 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2893, allocations: 4 kB / 0.793 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002034/0.2895, allocations: 19.91 kB / 0.793 GB, free: 5.578 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000206/0.2897, allocations: 117.1 kB / 0.7931 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.29, allocations: 67.94 kB / 0.7932 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.29, allocations: 0 / 0.7932 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.2901, allocations: 40.11 kB / 0.7932 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.2903, allocations: 39.23 kB / 0.7932 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.2908, allocations: 307.5 kB / 0.7935 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.2911, allocations: 0.7238 MB / 0.7942 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.083e-05/0.2912, allocations: 28.45 kB / 0.7943 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.2912, allocations: 15.44 kB / 0.7943 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.2912, allocations: 0 / 0.7943 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of Templates: time 0.004065/0.2953, allocations: 1.555 MB / 0.7958 GB, free: 2.664 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) Environment - environmentSimulation: