Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 93.47 kB / 20.21 MB, free: 4.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 169.2 kB / 23.53 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.072/1.072, allocations: 115 MB / 375.3 MB, free: 7.582 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0.875 kB / 480.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.75e-05, allocations: 2.312 kB / 480.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003993/0.00402, allocations: 1.671 MB / 482.4 MB, free: 10.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.005469, allocations: 0.5935 MB / 483 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.005599, allocations: 6.031 kB / 483 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.005818, allocations: 29.77 kB / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.006158, allocations: 67.19 kB / 483.1 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.006458, allocations: 74.2 kB / 483.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.006728, allocations: 142.1 kB / 483.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.006906, allocations: 29.27 kB / 483.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.007187, allocations: 79.58 kB / 483.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.007326, allocations: 54.75 kB / 483.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.007371, allocations: 7.938 kB / 483.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.007474, allocations: 28.14 kB / 483.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.007589, allocations: 50.33 kB / 483.6 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.007656, allocations: 34.55 kB / 483.6 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.007974, allocations: 150.2 kB / 483.8 MB, free: 10.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.007976, allocations: 0 / 483.8 MB, free: 10.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007977, allocations: 1.562 kB / 483.8 MB, free: 10.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.007984, allocations: 1.375 kB / 483.8 MB, free: 10.07 MB / 410.7 MB 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.0006993/0.008683, allocations: 0.4947 MB / 484.3 MB, free: 9.613 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.008727, allocations: 11.16 kB / 484.3 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.008991, allocations: 28.89 kB / 484.3 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.009339, allocations: 195.6 kB / 484.5 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.009354, allocations: 2.688 kB / 484.5 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.009378, allocations: 9.25 kB / 484.5 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.009681, allocations: 126.1 kB / 484.6 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.009692, allocations: 192 / 484.6 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.009712, allocations: 5.469 kB / 484.6 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.009718, allocations: 6.125 kB / 484.6 MB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.009956, allocations: 40.11 kB / 484.7 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.01059, allocations: 371.1 kB / 485 MB, free: 9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.01074, allocations: 39.8 kB / 485.1 MB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.01085, allocations: 25.23 kB / 485.1 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.01087, allocations: 2.531 kB / 485.1 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.01111, allocations: 145.1 kB / 485.2 MB, free: 8.797 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.01112, allocations: 1.094 kB / 485.2 MB, free: 8.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004607/0.01158, allocations: 97.09 kB / 485.3 MB, free: 8.746 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.01161, allocations: 82.27 kB / 485.4 MB, free: 8.648 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.01191, allocations: 295.9 kB / 485.7 MB, free: 8.438 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.01192, allocations: 25.7 kB / 485.7 MB, free: 8.406 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.01222, allocations: 186.4 kB / 485.9 MB, free: 24.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.01224, allocations: 9.844 kB / 485.9 MB, free: 24.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.01229, allocations: 23.28 kB / 485.9 MB, free: 24.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003983/0.01269, allocations: 0.5108 MB / 486.5 MB, free: 23.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.01281, allocations: 13.97 kB / 486.5 MB, free: 23.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.01293, allocations: 75.22 kB / 486.5 MB, free: 23.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.01314, allocations: 64.59 kB / 486.6 MB, free: 23.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01314, allocations: 0 / 486.6 MB, free: 23.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003119/0.01345, allocations: 81.91 kB / 486.7 MB, free: 23.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.01347, allocations: 7.156 kB / 486.7 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01348, allocations: 0.5 kB / 486.7 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.0135, allocations: 6.422 kB / 486.7 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.01362, allocations: 6.125 kB / 486.7 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.01363, allocations: 1.188 kB / 486.7 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.01374, allocations: 16.42 kB / 486.7 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.01376, allocations: 10.02 kB / 486.7 MB, free: 23.5 MB / 426.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.01392, allocations: 166.4 kB / 486.9 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.01398, allocations: 16.59 kB / 486.9 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.01402, allocations: 19 kB / 486.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01402, allocations: 0 / 486.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01403, allocations: 0 / 486.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01403, allocations: 1.312 kB / 486.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.01421, allocations: 182.5 kB / 487.1 MB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.01422, allocations: 1.125 kB / 487.1 MB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.01429, allocations: 8.562 kB / 487.1 MB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.0143, allocations: 1.219 kB / 487.1 MB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.01431, allocations: 8.562 kB / 487.1 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01431, allocations: 0 / 487.1 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01431, allocations: 2.781 kB / 487.1 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.01462, allocations: 114.1 kB / 487.2 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.01465, allocations: 16.03 kB / 487.3 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.01468, allocations: 4 kB / 487.3 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.01478, allocations: 10.77 kB / 487.3 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.01484, allocations: 5.641 kB / 487.3 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.01487, allocations: 4.406 kB / 487.3 MB, free: 23.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002762/0.01515, allocations: 208.7 kB / 487.5 MB, free: 22.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01515, allocations: 1.219 kB / 487.5 MB, free: 22.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004155/0.01557, allocations: 30.34 kB / 487.5 MB, free: 22.88 MB / 426.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003146/0.01588, allocations: 121.3 kB / 487.6 MB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.01617, allocations: 55.42 kB / 487.7 MB, free: 22.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.01618, allocations: 0 / 487.7 MB, free: 22.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.0163, allocations: 30.7 kB / 487.7 MB, free: 22.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.01676, allocations: 45.77 kB / 487.8 MB, free: 22.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.0174, allocations: 269.3 kB / 488 MB, free: 22.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.01752, allocations: 113.5 kB / 488.1 MB, free: 22.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.06e-05/0.01761, allocations: 16.27 kB / 488.2 MB, free: 22.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.01767, allocations: 18.75 kB / 488.2 MB, free: 22.44 MB / 426.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01767, allocations: 0.5625 kB / 488.2 MB, free: 22.44 MB / 426.7 MB Notification: Performance of Templates: time 0.007747/0.02541, allocations: 1.775 MB / 489.9 MB, free: 22.29 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.704350493033417]