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.001065/0.001065, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001427/0.001427, allocations: 172 kB / 24.84 MB, free: 8.895 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.6285/0.6285, allocations: 115 MB / 376.8 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 1.773e-06/1.773e-06, allocations: 0 / 482.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.746e-05, allocations: 5.594 kB / 482.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002528/0.002555, allocations: 1.685 MB / 484.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009145/0.00347, allocations: 0.594 MB / 485 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.003572, allocations: 6.188 kB / 485 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.003758, allocations: 25.59 kB / 485 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.003998, allocations: 69.44 kB / 485.1 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.004195, allocations: 75.12 kB / 485.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.004381, allocations: 142.4 kB / 485.3 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.004521, allocations: 28.06 kB / 485.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.00471, allocations: 83.19 kB / 485.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.004803, allocations: 53.42 kB / 485.5 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.004829, allocations: 8 kB / 485.5 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.132e-05/0.004901, allocations: 29.14 kB / 485.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/0.004982, allocations: 48.31 kB / 485.6 MB, free: 9.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.005022, allocations: 32.19 kB / 485.6 MB, free: 9.941 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.005217, allocations: 117.3 kB / 485.7 MB, free: 9.891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.00522, allocations: 0 / 485.7 MB, free: 9.891 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005221, allocations: 0 / 485.7 MB, free: 9.891 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.005227, allocations: 0 / 485.7 MB, free: 9.891 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.0004642/0.005692, allocations: 0.4922 MB / 486.2 MB, free: 9.434 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.00573, allocations: 9.719 kB / 486.2 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.005889, allocations: 37.78 kB / 486.2 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.006114, allocations: 186 kB / 486.4 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.006125, allocations: 3.781 kB / 486.4 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.00614, allocations: 12.91 kB / 486.4 MB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.006286, allocations: 128.3 kB / 486.6 MB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.006293, allocations: 0.9375 kB / 486.6 MB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.006304, allocations: 5.562 kB / 486.6 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.006311, allocations: 7.031 kB / 486.6 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.613e-05/0.006337, allocations: 11.83 kB / 486.6 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.006658, allocations: 321.1 kB / 486.9 MB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.074e-05/0.006699, allocations: 28.3 kB / 486.9 MB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.006715, allocations: 14.64 kB / 486.9 MB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.006728, allocations: 0 / 486.9 MB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.00683, allocations: 138.3 kB / 487.1 MB, free: 8.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.006831, allocations: 1.375 kB / 487.1 MB, free: 8.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001336/0.006965, allocations: 54.34 kB / 487.1 MB, free: 8.609 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.006991, allocations: 78.48 kB / 487.2 MB, free: 8.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.007342, allocations: 265.2 kB / 487.5 MB, free: 24.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.007357, allocations: 28.23 kB / 487.5 MB, free: 24.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.007445, allocations: 174.4 kB / 487.7 MB, free: 24.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.007467, allocations: 12.81 kB / 487.7 MB, free: 24.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.00751, allocations: 28.78 kB / 487.7 MB, free: 24.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.007632, allocations: 0.4995 MB / 488.2 MB, free: 23.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.007649, allocations: 4.922 kB / 488.2 MB, free: 23.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.007684, allocations: 61.27 kB / 488.3 MB, free: 23.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.007728, allocations: 31 kB / 488.3 MB, free: 23.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.00773, allocations: 1.438 kB / 488.3 MB, free: 23.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.396e-05/0.007824, allocations: 67.36 kB / 488.4 MB, free: 23.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.007839, allocations: 6 kB / 488.4 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.007844, allocations: 1.312 kB / 488.4 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.007855, allocations: 1.281 kB / 488.4 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.939e-05/0.007924, allocations: 10.39 kB / 488.4 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.007927, allocations: 1.094 kB / 488.4 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.007976, allocations: 17.19 kB / 488.4 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.007983, allocations: 1.344 kB / 488.4 MB, free: 23.41 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 8.741e-05/0.00807, allocations: 164.8 kB / 488.6 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.008095, allocations: 16.78 kB / 488.6 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.008126, allocations: 16.27 kB / 488.6 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.008129, allocations: 1.125 kB / 488.6 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.008131, allocations: 0 / 488.6 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.008134, allocations: 2.531 kB / 488.6 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.691e-05/0.008231, allocations: 139.4 kB / 488.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008233, allocations: 0 / 488.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.008268, allocations: 5.5 kB / 488.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.008271, allocations: 2.406 kB / 488.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.008276, allocations: 0 / 488.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.008278, allocations: 7.266 kB / 488.8 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008279, allocations: 0 / 488.8 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.427e-05/0.008373, allocations: 95.67 kB / 488.8 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.008387, allocations: 15.28 kB / 488.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.008402, allocations: 1.219 kB / 488.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.745e-05/0.008439, allocations: 8.281 kB / 488.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.00847, allocations: 4.062 kB / 488.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.008489, allocations: 8.781 kB / 488.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.947e-05/0.008579, allocations: 178.7 kB / 489.1 MB, free: 22.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008579, allocations: 1.469 kB / 489.1 MB, free: 22.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.008789, allocations: 28.97 kB / 489.1 MB, free: 22.84 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.0001947/0.008984, allocations: 130.8 kB / 489.2 MB, free: 22.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.628e-05/0.00907, allocations: 25.55 kB / 489.2 MB, free: 22.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.009072, allocations: 0 / 489.2 MB, free: 22.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/0.009093, allocations: 15.06 kB / 489.3 MB, free: 22.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.009344, allocations: 45.02 kB / 489.3 MB, free: 22.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.009871, allocations: 276 kB / 489.6 MB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.049e-05/0.009912, allocations: 69.22 kB / 489.6 MB, free: 22.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.009965, allocations: 14.89 kB / 489.7 MB, free: 22.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.01005, allocations: 98.73 kB / 489.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01005, allocations: 0 / 489.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of Templates: time 0.004419/0.01447, allocations: 1.948 MB / 491.7 MB, free: 22.16 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.6895508216693997]