Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.206/5.206, allocations: 0.5623 GB / 0.5776 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002467/0.002468, allocations: 363.9 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.254/4.254, allocations: 410.7 MB / 1.113 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001854/0.001854, allocations: 188.3 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0009222/0.0009227, allocations: 12 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7445/0.7454, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.00211/0.7476, allocations: 1.335 MB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.7487, allocations: 0.5526 MB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.532e-05/0.7488, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.749, allocations: 21.05 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.7493, allocations: 60.25 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.7495, allocations: 51.92 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000207/0.7497, allocations: 112.2 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.7499, allocations: 38.95 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.75, allocations: 48.67 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.7502, allocations: 47.77 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.7502, allocations: 4 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.256e-05/0.7503, allocations: 16.83 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.7504, allocations: 39.83 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.7504, allocations: 46.27 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.7506, allocations: 96.5 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7506, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.875e-06/0.7506, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.7506, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 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.0006477/0.7513, allocations: 455.9 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.7513, allocations: 11.62 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.7514, allocations: 21.56 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.7517, allocations: 231.6 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.7517, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.7517, allocations: 8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.7521, allocations: 123.8 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.7521, allocations: 0 / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.7522, allocations: 4 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.7522, allocations: 0 / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.7526, allocations: 82.47 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.7533, allocations: 390.5 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.7535, allocations: 55.78 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.7537, allocations: 35.53 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.7538, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003469/0.7541, allocations: 112.1 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/0.7542, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0006823/0.7548, allocations: 142.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.7549, allocations: 77.11 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.7552, allocations: 253 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.7552, allocations: 26.42 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.7553, allocations: 132 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.7553, allocations: 13.67 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.7554, allocations: 0 / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.7554, allocations: 330.8 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.7556, allocations: 25.7 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.7559, allocations: 69.09 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.7561, allocations: 29.53 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.7561, allocations: 0.6875 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000454/0.7565, allocations: 120.6 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.7566, allocations: 14.41 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7566, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.7566, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.7568, allocations: 15.98 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.7568, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.757, allocations: 21.73 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.757, allocations: 8 kB / 1.466 GB, free: 279 MB / 0.8542 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.0001071/0.7571, allocations: 126.2 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.7572, allocations: 27.61 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.7572, allocations: 27.02 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7572, allocations: 0 / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7572, allocations: 0 / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.7573, allocations: 92.91 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.7573, allocations: 0 / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.7575, allocations: 21.73 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.7576, allocations: 3.984 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005406/0.7581, allocations: 186.9 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004977/0.7586, allocations: 291.4 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002035/0.7589, allocations: 33 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002075/0.7591, allocations: 192.5 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of Backend: time 8.91e-07/0.7591, allocations: 0 / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008312/0.7599, allocations: 150.4 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0008133/0.7608, allocations: 0.7667 MB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of Templates: time 0.006194/0.767, allocations: 1.71 MB / 1.47 GB, free: 275.4 MB / 0.8542 GB