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.0009718/0.0009718, allocations: 84.22 kB / 20.94 MB, free: 3.602 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.001051/0.001051, allocations: 173 kB / 24.25 MB, free: 300 kB / 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.043/1.043, allocations: 177.1 MB / 204.6 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6422/0.6422, allocations: 114.9 MB / 376 MB, free: 7.504 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 1.924e-06/1.924e-06, allocations: 0 / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.295e-05, allocations: 3.016 kB / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.001952/0.001975, allocations: 1.695 MB / 483.2 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000685/0.00266, allocations: 0.6044 MB / 483.8 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.002743, allocations: 7.438 kB / 483.8 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.002911, allocations: 26.47 kB / 483.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.003114, allocations: 61.28 kB / 483.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.003278, allocations: 82.97 kB / 484 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.00343, allocations: 132.2 kB / 484.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.003563, allocations: 32.97 kB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.00372, allocations: 85.16 kB / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.003798, allocations: 44.55 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.003821, allocations: 8.875 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.003883, allocations: 29.83 kB / 484.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.718e-05/0.00396, allocations: 47.7 kB / 484.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.004001, allocations: 38.03 kB / 484.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.004171, allocations: 118.9 kB / 484.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.004174, allocations: 3.328 kB / 484.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004175, allocations: 0.75 kB / 484.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004179, allocations: 1.125 kB / 484.5 MB, free: 10.11 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.0004337/0.004613, allocations: 492.2 kB / 485 MB, free: 9.664 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.004654, allocations: 11.09 kB / 485 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.004805, allocations: 35.59 kB / 485 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.00501, allocations: 193.9 kB / 485.2 MB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.005022, allocations: 7.75 kB / 485.2 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.005036, allocations: 5.156 kB / 485.2 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.005208, allocations: 137 kB / 485.3 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.005215, allocations: 1.844 kB / 485.3 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.005227, allocations: 6.094 kB / 485.4 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005236, allocations: 5.094 kB / 485.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.005276, allocations: 12.91 kB / 485.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.005783, allocations: 349.9 kB / 485.7 MB, free: 25.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.482e-05/0.005828, allocations: 30.06 kB / 485.7 MB, free: 25.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.00585, allocations: 16.66 kB / 485.8 MB, free: 24.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.005863, allocations: 5.906 kB / 485.8 MB, free: 24.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.005971, allocations: 130.2 kB / 485.9 MB, free: 24.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.005972, allocations: 0 / 485.9 MB, free: 24.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001517/0.006124, allocations: 53.44 kB / 485.9 MB, free: 24.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.006153, allocations: 82.36 kB / 486 MB, free: 24.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.006318, allocations: 273.2 kB / 486.3 MB, free: 24.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.006328, allocations: 25.7 kB / 486.3 MB, free: 24.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.006397, allocations: 181.1 kB / 486.5 MB, free: 24.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.006416, allocations: 5.922 kB / 486.5 MB, free: 24.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.006445, allocations: 22.5 kB / 486.5 MB, free: 24.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.00656, allocations: 0.5046 MB / 487 MB, free: 23.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.006576, allocations: 1 kB / 487 MB, free: 23.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.006611, allocations: 62.27 kB / 487.1 MB, free: 23.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.006653, allocations: 42.36 kB / 487.1 MB, free: 23.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.006655, allocations: 1.188 kB / 487.1 MB, free: 23.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.992e-05/0.006735, allocations: 64.41 kB / 487.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.00675, allocations: 5.75 kB / 487.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.006755, allocations: 0 / 487.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.00677, allocations: 2.062 kB / 487.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.00684, allocations: 6.812 kB / 487.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.006847, allocations: 4.984 kB / 487.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.006885, allocations: 13.64 kB / 487.2 MB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.006892, allocations: 5.969 kB / 487.2 MB, free: 23.6 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 6.588e-05/0.006958, allocations: 154.9 kB / 487.4 MB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.006977, allocations: 19.47 kB / 487.4 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.007006, allocations: 19.31 kB / 487.4 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.007007, allocations: 0 / 487.4 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.007011, allocations: 4.969 kB / 487.4 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.007014, allocations: 0 / 487.4 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.659e-05/0.007101, allocations: 162 kB / 487.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.007101, allocations: 1.469 kB / 487.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.007126, allocations: 12.84 kB / 487.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007128, allocations: 1.469 kB / 487.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.007135, allocations: 4.969 kB / 487.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.007136, allocations: 1.156 kB / 487.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007137, allocations: 3.938 kB / 487.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.836e-05/0.007215, allocations: 99.38 kB / 487.7 MB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.007226, allocations: 11.31 kB / 487.7 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.007241, allocations: 8.453 kB / 487.7 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.714e-05/0.007268, allocations: 5.875 kB / 487.7 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.007307, allocations: 4.328 kB / 487.7 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.007325, allocations: 4.781 kB / 487.7 MB, free: 23.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.00743, allocations: 195.2 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00743, allocations: 1.281 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.007582, allocations: 25.36 kB / 488 MB, free: 23 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.0001724/0.007754, allocations: 135.1 kB / 488.1 MB, free: 22.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.586e-05/0.00785, allocations: 25.47 kB / 488.1 MB, free: 22.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007851, allocations: 0 / 488.1 MB, free: 22.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.197e-05/0.007873, allocations: 16.53 kB / 488.1 MB, free: 22.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.008088, allocations: 43.39 kB / 488.2 MB, free: 22.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.008635, allocations: 264.6 kB / 488.4 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.008667, allocations: 76.77 kB / 488.5 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.346e-05/0.00871, allocations: 15.88 kB / 488.5 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.00874, allocations: 15.22 kB / 488.5 MB, free: 22.57 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00874, allocations: 0 / 488.5 MB, free: 22.57 MB / 426.7 MB Notification: Performance of Templates: time 0.003677/0.01242, allocations: 1.794 MB / 490.3 MB, free: 22.42 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: 3.5634803590364754]