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.001591/0.001591, 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.001958/0.001958, 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 1.168/1.168, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.6932/0.6932, allocations: 115 MB / 376 MB, free: 7.5 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.786e-06/2.786e-06, allocations: 0 / 428.7 MB, free: 2.793 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.66e-05/3.939e-05, allocations: 2.312 kB / 428.7 MB, free: 2.789 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003788/0.003827, allocations: 1.728 MB / 430.5 MB, free: 1.047 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.005029, allocations: 0.6153 MB / 431.1 MB, free: 436 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.005184, allocations: 4 kB / 431.1 MB, free: 432 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.005453, allocations: 27.73 kB / 431.1 MB, free: 404 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.005756, allocations: 67.61 kB / 431.2 MB, free: 336 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.006028, allocations: 67.84 kB / 431.2 MB, free: 268 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.006271, allocations: 143.5 kB / 431.4 MB, free: 124 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.006446, allocations: 38.27 kB / 431.4 MB, free: 84 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.006691, allocations: 83.73 kB / 431.5 MB, free: 0 / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.006837, allocations: 47.88 kB / 431.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.006868, allocations: 8 kB / 431.6 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.00698, allocations: 31.92 kB / 431.6 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.196e-05/0.007072, allocations: 47.77 kB / 431.6 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.007126, allocations: 31.91 kB / 431.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.00735, allocations: 119.4 kB / 431.8 MB, free: 15.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.007356, allocations: 4 kB / 431.8 MB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.007357, allocations: 0 / 431.8 MB, free: 15.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.007363, allocations: 4 kB / 431.8 MB, free: 15.71 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.0005277/0.007891, allocations: 356 kB / 432.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.007936, allocations: 12.03 kB / 432.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.008124, allocations: 20.91 kB / 432.2 MB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.008649, allocations: 189.3 kB / 432.4 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.008666, allocations: 8.359 kB / 432.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.008684, allocations: 8.375 kB / 432.4 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.008902, allocations: 145.1 kB / 432.5 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.008912, allocations: 192 / 432.5 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.008923, allocations: 4.375 kB / 432.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.008933, allocations: 7.938 kB / 432.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.807e-05/0.008961, allocations: 11.98 kB / 432.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.009374, allocations: 217.7 kB / 432.7 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.728e-05/0.009431, allocations: 26.5 kB / 432.8 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.009449, allocations: 4.859 kB / 432.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.009467, allocations: 4.062 kB / 432.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.009613, allocations: 120.5 kB / 432.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.009614, allocations: 0 / 432.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001531/0.009767, allocations: 53.61 kB / 433 MB, free: 14.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.009813, allocations: 77.11 kB / 433 MB, free: 14.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.009974, allocations: 209 kB / 433.2 MB, free: 14.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.009995, allocations: 25.7 kB / 433.3 MB, free: 14.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.01007, allocations: 120.5 kB / 433.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.01009, allocations: 3.953 kB / 433.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.01013, allocations: 17.7 kB / 433.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.01024, allocations: 330.7 kB / 433.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.01026, allocations: 7.984 kB / 433.7 MB, free: 13.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.823e-05/0.01031, allocations: 53.14 kB / 433.8 MB, free: 13.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.944e-05/0.01035, allocations: 33.33 kB / 433.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01036, allocations: 4 kB / 433.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.875e-05/0.01045, allocations: 45.62 kB / 433.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.01046, allocations: 8 kB / 433.9 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01047, allocations: 0 / 433.9 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.01048, allocations: 4.125 kB / 433.9 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.694e-05/0.01057, allocations: 11.98 kB / 433.9 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.01057, allocations: 0 / 433.9 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.01061, allocations: 7.938 kB / 433.9 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.01062, allocations: 4 kB / 433.9 MB, free: 13.38 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 9.196e-05/0.01072, allocations: 120.6 kB / 434 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.01074, allocations: 15.92 kB / 434 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.01077, allocations: 13.03 kB / 434 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01077, allocations: 0 / 434 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01077, allocations: 3.938 kB / 434 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.01078, allocations: 8 kB / 434.1 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.01089, allocations: 101.7 kB / 434.2 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01089, allocations: 0 / 434.2 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.01094, allocations: 11.98 kB / 434.2 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01094, allocations: 0 / 434.2 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.01094, allocations: 0 / 434.2 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01094, allocations: 0 / 434.2 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01095, allocations: 0 / 434.2 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.01105, allocations: 77.33 kB / 434.2 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.01107, allocations: 11.95 kB / 434.2 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.01108, allocations: 4.047 kB / 434.3 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.815e-05/0.01111, allocations: 15.97 kB / 434.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.01116, allocations: 11.92 kB / 434.3 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.01118, allocations: 4 kB / 434.3 MB, free: 12.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.739e-05/0.01124, allocations: 73.98 kB / 434.4 MB, free: 12.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.01124, allocations: 0 / 434.4 MB, free: 12.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.01139, allocations: 23.95 kB / 434.4 MB, free: 12.84 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.0002416/0.01163, allocations: 100.2 kB / 434.5 MB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.01173, allocations: 12.86 kB / 434.5 MB, free: 12.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.01174, allocations: 0 / 434.5 MB, free: 12.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.01176, allocations: 16.8 kB / 434.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.01198, allocations: 60.45 kB / 434.6 MB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006485/0.01263, allocations: 271.5 kB / 434.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.441e-05/0.01269, allocations: 79.19 kB / 434.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.01274, allocations: 8.484 kB / 434.9 MB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.01284, allocations: 71.36 kB / 435 MB, free: 12.17 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01284, allocations: 0 / 435 MB, free: 12.17 MB / 410.7 MB Notification: Performance of Templates: time 0.004724/0.01757, allocations: 1.821 MB / 436.8 MB, free: 10.36 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.904056388884783]