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.001656/0.001656, allocations: 96.09 kB / 20.43 MB, free: 4.141 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.00191/0.00191, allocations: 165 kB / 23.8 MB, free: 0.7734 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.096/1.096, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6462/0.6462, allocations: 115 MB / 375.7 MB, free: 7.668 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.473e-06/1.473e-06, allocations: 0 / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.046e-05, allocations: 2.312 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002584/0.002615, allocations: 1.708 MB / 483.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008892/0.003504, allocations: 0.6002 MB / 483.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.003598, allocations: 3 kB / 483.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.003788, allocations: 29.47 kB / 483.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.004016, allocations: 66.38 kB / 483.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.004244, allocations: 79 kB / 484 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.004439, allocations: 137.9 kB / 484.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.004586, allocations: 29.91 kB / 484.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.004792, allocations: 79.7 kB / 484.2 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.004897, allocations: 54.56 kB / 484.2 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.004928, allocations: 8.25 kB / 484.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.005004, allocations: 29.58 kB / 484.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.903e-05/0.005093, allocations: 48.33 kB / 484.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.005146, allocations: 35.88 kB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.005359, allocations: 111.6 kB / 484.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.005362, allocations: 1.25 kB / 484.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.005364, allocations: 3.141 kB / 484.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.00537, allocations: 0.75 kB / 484.5 MB, free: 10.04 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.0004906/0.005861, allocations: 0.4886 MB / 485 MB, free: 9.578 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.005903, allocations: 10.06 kB / 485 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.006053, allocations: 35.8 kB / 485 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.006275, allocations: 188.9 kB / 485.2 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.006287, allocations: 8.5 kB / 485.2 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.006305, allocations: 13.05 kB / 485.2 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.006486, allocations: 131.3 kB / 485.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.006494, allocations: 192 / 485.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.006506, allocations: 1.438 kB / 485.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.547e-06/0.006515, allocations: 5.719 kB / 485.4 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.082e-05/0.006555, allocations: 17.62 kB / 485.4 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.006956, allocations: 349.2 kB / 485.7 MB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.686e-05/0.007003, allocations: 26.5 kB / 485.7 MB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.007027, allocations: 13.39 kB / 485.8 MB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.007051, allocations: 1.094 kB / 485.8 MB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.00717, allocations: 135.1 kB / 485.9 MB, free: 8.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.007171, allocations: 0 / 485.9 MB, free: 8.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001604/0.007332, allocations: 56.28 kB / 485.9 MB, free: 8.727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.007356, allocations: 78.98 kB / 486 MB, free: 8.633 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.007512, allocations: 272.3 kB / 486.3 MB, free: 8.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.007523, allocations: 26.73 kB / 486.3 MB, free: 8.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.007773, allocations: 179.8 kB / 486.5 MB, free: 24.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.007793, allocations: 13.44 kB / 486.5 MB, free: 24.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.007828, allocations: 28.16 kB / 486.5 MB, free: 24.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.007948, allocations: 0.4989 MB / 487 MB, free: 23.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.007969, allocations: 3.688 kB / 487 MB, free: 23.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.941e-05/0.008009, allocations: 68.3 kB / 487.1 MB, free: 23.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.008053, allocations: 34.41 kB / 487.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008055, allocations: 1.938 kB / 487.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.736e-05/0.008142, allocations: 64.08 kB / 487.2 MB, free: 23.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.00816, allocations: 5.031 kB / 487.2 MB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.008166, allocations: 2.438 kB / 487.2 MB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.008184, allocations: 1.719 kB / 487.2 MB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.008271, allocations: 8.859 kB / 487.2 MB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.008279, allocations: 2.656 kB / 487.2 MB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.00832, allocations: 17.2 kB / 487.2 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.008328, allocations: 5.406 kB / 487.2 MB, free: 23.51 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 7.951e-05/0.008408, allocations: 164.1 kB / 487.4 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.008428, allocations: 15.16 kB / 487.4 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.008466, allocations: 21.47 kB / 487.4 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.008469, allocations: 0 / 487.4 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.008473, allocations: 4.031 kB / 487.4 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008477, allocations: 0 / 487.4 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.959e-05/0.008576, allocations: 166.6 kB / 487.6 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008577, allocations: 0 / 487.6 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.008611, allocations: 9.219 kB / 487.6 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008613, allocations: 0 / 487.6 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.00862, allocations: 1.25 kB / 487.6 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008621, allocations: 5.094 kB / 487.6 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.008623, allocations: 0 / 487.6 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.613e-05/0.008719, allocations: 94.33 kB / 487.7 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.008736, allocations: 16.09 kB / 487.7 MB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.008753, allocations: 1.094 kB / 487.7 MB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.008781, allocations: 7.719 kB / 487.7 MB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.008824, allocations: 5.922 kB / 487.7 MB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.008842, allocations: 4.938 kB / 487.7 MB, free: 23.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.008949, allocations: 194.6 kB / 487.9 MB, free: 22.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008949, allocations: 0 / 487.9 MB, free: 22.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.009104, allocations: 31.77 kB / 488 MB, free: 22.91 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.0002044/0.009309, allocations: 119 kB / 488.1 MB, free: 22.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.009411, allocations: 27.56 kB / 488.1 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009413, allocations: 0 / 488.1 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.281e-05/0.009436, allocations: 16.06 kB / 488.1 MB, free: 22.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.009667, allocations: 50.61 kB / 488.2 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.0103, allocations: 273.6 kB / 488.4 MB, free: 22.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.642e-05/0.01034, allocations: 72.94 kB / 488.5 MB, free: 22.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.01039, allocations: 18.22 kB / 488.5 MB, free: 22.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.01043, allocations: 18.09 kB / 488.5 MB, free: 22.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01043, allocations: 1.156 kB / 488.5 MB, free: 22.48 MB / 426.7 MB Notification: Performance of Templates: time 0.004843/0.01527, allocations: 1.786 MB / 490.3 MB, free: 22.33 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.8856712309643626]