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.000833/0.000833, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.00092/0.00092, allocations: 169 kB / 24.14 MB, free: 360 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 0.9803/0.9803, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.6283/0.6283, allocations: 115 MB / 376 MB, free: 7.496 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.312e-06/1.312e-06, allocations: 0 / 428.7 MB, free: 2.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.903e-05, allocations: 2.312 kB / 428.7 MB, free: 2.836 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002219/0.002238, allocations: 1.692 MB / 430.4 MB, free: 1.129 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008355/0.003074, allocations: 0.6037 MB / 431 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.003156, allocations: 7.938 kB / 431 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.003316, allocations: 27.77 kB / 431 MB, free: 496 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.003513, allocations: 75.48 kB / 431.1 MB, free: 420 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.003703, allocations: 75.84 kB / 431.2 MB, free: 344 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.003858, allocations: 131.5 kB / 431.3 MB, free: 212 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.003977, allocations: 38.25 kB / 431.3 MB, free: 168 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.004146, allocations: 79.8 kB / 431.4 MB, free: 88 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.004228, allocations: 51.83 kB / 431.5 MB, free: 36 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.00425, allocations: 11.98 kB / 431.5 MB, free: 24 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.004324, allocations: 28.08 kB / 431.5 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.004392, allocations: 47.83 kB / 431.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.004424, allocations: 23.88 kB / 431.6 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.004574, allocations: 119.5 kB / 431.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004576, allocations: 4 kB / 431.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004576, allocations: 0 / 431.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.00458, allocations: 0 / 431.7 MB, free: 15.8 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.000347/0.004927, allocations: 367.9 kB / 432 MB, free: 15.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.00496, allocations: 12.03 kB / 432.1 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.005069, allocations: 24.92 kB / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.005254, allocations: 185.4 kB / 432.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.005263, allocations: 8.375 kB / 432.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.005277, allocations: 8.312 kB / 432.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.005417, allocations: 145.1 kB / 432.4 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.005423, allocations: 4.188 kB / 432.4 MB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.005433, allocations: 4.375 kB / 432.4 MB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.005438, allocations: 3.938 kB / 432.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.005459, allocations: 8 kB / 432.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.005744, allocations: 221.7 kB / 432.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.838e-05/0.005783, allocations: 14.58 kB / 432.7 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.005798, allocations: 12.92 kB / 432.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.005809, allocations: 0 / 432.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.593e-05/0.005905, allocations: 124.5 kB / 432.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.005906, allocations: 0 / 432.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001097/0.006016, allocations: 49.67 kB / 432.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.006046, allocations: 77.11 kB / 432.9 MB, free: 14.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.006164, allocations: 213 kB / 433.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.006177, allocations: 33.7 kB / 433.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.006216, allocations: 108.5 kB / 433.3 MB, free: 14.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.006231, allocations: 3.953 kB / 433.3 MB, free: 14.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.006258, allocations: 21.7 kB / 433.3 MB, free: 14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.006335, allocations: 330.7 kB / 433.6 MB, free: 13.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.006347, allocations: 7.938 kB / 433.6 MB, free: 13.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.006376, allocations: 53.12 kB / 433.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.00641, allocations: 33.38 kB / 433.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006412, allocations: 0 / 433.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.129e-05/0.006473, allocations: 57.55 kB / 433.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.006485, allocations: 4 kB / 433.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.006489, allocations: 0 / 433.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-06/0.006497, allocations: 0 / 433.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.006554, allocations: 8 kB / 433.8 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.006556, allocations: 4.094 kB / 433.8 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.006591, allocations: 15.92 kB / 433.8 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.006598, allocations: 4 kB / 433.8 MB, free: 13.45 MB / 410.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 5.947e-05/0.006657, allocations: 120.6 kB / 433.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.00667, allocations: 7.984 kB / 433.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.006695, allocations: 17.02 kB / 434 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006697, allocations: 4 kB / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.006698, allocations: 0 / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.006701, allocations: 0 / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.715e-05/0.006778, allocations: 101.7 kB / 434.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.006779, allocations: 4 kB / 434.1 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.006804, allocations: 11.98 kB / 434.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.006805, allocations: 0 / 434.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.00681, allocations: 288 / 434.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006811, allocations: 0 / 434.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.006811, allocations: 7.938 kB / 434.1 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.186e-05/0.006893, allocations: 73.03 kB / 434.2 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.006907, allocations: 11.95 kB / 434.2 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.006919, allocations: 4 kB / 434.2 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.63e-05/0.006946, allocations: 4 kB / 434.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.006975, allocations: 11.98 kB / 434.2 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.006993, allocations: 4 kB / 434.2 MB, free: 13.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.876e-05/0.007052, allocations: 73.98 kB / 434.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007052, allocations: 0 / 434.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001264/0.007178, allocations: 19.95 kB / 434.3 MB, free: 12.93 MB / 410.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.0001819/0.00736, allocations: 116.1 kB / 434.4 MB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.178e-05/0.007442, allocations: 24.78 kB / 434.4 MB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.007447, allocations: 4 kB / 434.4 MB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.738e-05/0.007465, allocations: 8.859 kB / 434.4 MB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.007638, allocations: 48.56 kB / 434.5 MB, free: 12.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.008191, allocations: 275.3 kB / 434.7 MB, free: 12.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.528e-05/0.008236, allocations: 75.38 kB / 434.8 MB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.008286, allocations: 16.48 kB / 434.8 MB, free: 12.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.822e-05/0.008374, allocations: 71.3 kB / 434.9 MB, free: 12.24 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.008375, allocations: 0 / 434.9 MB, free: 12.24 MB / 410.7 MB Notification: Performance of Templates: time 0.003724/0.0121, allocations: 1.805 MB / 436.7 MB, free: 10.45 MB / 410.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.3581786076538265]