Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.001316/0.001316, allocations: 84.86 kB / 21.62 MB, free: 2.84 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.001195/0.001195, allocations: 172.6 kB / 25.05 MB, free: 9.211 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 0.896/0.896, allocations: 177.1 MB / 205.5 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.891/1.891, allocations: 389.6 MB / 0.6363 GB, free: 12.26 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 4 kB / 0.7762 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.283e-05, allocations: 6.25 kB / 0.7762 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.01417/0.0142, allocations: 19.28 MB / 0.795 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.02452, allocations: 8.015 MB / 0.8028 GB, free: 9.969 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.02608, allocations: 100.6 kB / 0.8029 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.02726, allocations: 0.6055 MB / 0.8035 GB, free: 9.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003855/0.03111, allocations: 1.822 MB / 0.8053 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.03377, allocations: 1.442 MB / 0.8067 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004649/0.03842, allocations: 4.296 MB / 0.8109 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.04016, allocations: 1.121 MB / 0.812 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.04271, allocations: 2.041 MB / 0.814 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.04384, allocations: 1.018 MB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.04402, allocations: 143.9 kB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.04546, allocations: 0.8155 MB / 0.8159 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0005435/0.046, allocations: 454.1 kB / 0.8163 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000555/0.04656, allocations: 0.6092 MB / 0.8169 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.04879, allocations: 1.798 MB / 0.8187 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.04879, allocations: 0 / 0.8187 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.393e-06/0.04879, allocations: 0 / 0.8187 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.04881, allocations: 1.062 kB / 0.8187 GB, free: 9.699 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.002186/0.051, allocations: 2.023 MB / 0.8207 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.05103, allocations: 13.84 kB / 0.8207 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.05253, allocations: 0.5219 MB / 0.8212 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.05381, allocations: 0.9947 MB / 0.8222 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.05394, allocations: 196.8 kB / 0.8223 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.05406, allocations: 109 kB / 0.8224 GB, free: 5.758 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.0552, allocations: 1.043 MB / 0.8235 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.05522, allocations: 0 / 0.8235 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.05529, allocations: 44 kB / 0.8235 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.05532, allocations: 24 kB / 0.8235 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.05586, allocations: 387.7 kB / 0.8239 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/0.05897, allocations: 2.612 MB / 0.8264 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.06047, allocations: 0.6268 MB / 0.8271 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.06073, allocations: 177.6 kB / 0.8272 GB, free: 0.7227 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.06094, allocations: 88.59 kB / 0.8273 GB, free: 0.6367 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004299/0.06137, allocations: 449.2 kB / 0.8277 GB, free: 148 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 3.867e-06/0.06137, allocations: 0 / 0.8277 GB, free: 148 kB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.0007946/0.06216, allocations: 489.7 kB / 0.8282 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.0622, allocations: 60.06 kB / 0.8283 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007347/0.06294, allocations: 1.019 MB / 0.8293 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.063, allocations: 41.7 kB / 0.8293 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.06326, allocations: 480.9 kB / 0.8298 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.0634, allocations: 249.8 kB / 0.83 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004468/0.06385, allocations: 174.5 kB / 0.8302 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.06394, allocations: 341.8 kB / 0.8305 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.06414, allocations: 149.3 kB / 0.8306 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.06457, allocations: 0.8334 MB / 0.8314 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.06502, allocations: 443.4 kB / 0.8319 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.06503, allocations: 4 kB / 0.8319 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006333/0.06566, allocations: 0.5401 MB / 0.8324 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.0657, allocations: 37.7 kB / 0.8324 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.06571, allocations: 4 kB / 0.8324 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.06572, allocations: 7.984 kB / 0.8324 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.06629, allocations: 231.7 kB / 0.8327 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.0663, allocations: 8 kB / 0.8327 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.06683, allocations: 135.4 kB / 0.8328 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.06688, allocations: 31.97 kB / 0.8328 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003481/0.06723, allocations: 237.4 kB / 0.8331 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004205/0.06765, allocations: 0.8412 MB / 0.8339 GB, free: 9.254 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004158/0.06807, allocations: 440.5 kB / 0.8343 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.06807, allocations: 0 / 0.8343 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0005863/0.06866, allocations: 0.5438 MB / 0.8348 GB, free: 8.199 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.06868, allocations: 38.09 kB / 0.8349 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.06869, allocations: 8 kB / 0.8349 GB, free: 8.148 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-06/0.06869, allocations: 4 kB / 0.8349 GB, free: 8.145 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.06922, allocations: 235.6 kB / 0.8351 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.06922, allocations: 8 kB / 0.8351 GB, free: 7.906 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.06972, allocations: 131.5 kB / 0.8352 GB, free: 7.777 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.06977, allocations: 23.98 kB / 0.8353 GB, free: 7.754 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001839/0.06996, allocations: 232 kB / 0.8355 GB, free: 7.52 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.07008, allocations: 111.9 kB / 0.8356 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007747/0.07085, allocations: 0.6323 MB / 0.8362 GB, free: 6.762 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.07086, allocations: 8 kB / 0.8362 GB, free: 6.754 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.07087, allocations: 0 / 0.8362 GB, free: 6.754 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003767/0.07124, allocations: 396.2 kB / 0.8366 GB, free: 6.336 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.07325, allocations: 1.443 MB / 0.838 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-06/0.07326, allocations: 4 kB / 0.838 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.07375, allocations: 200.3 kB / 0.8382 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.07376, allocations: 8 kB / 0.8382 GB, free: 4.598 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.0738, allocations: 19.98 kB / 0.8382 GB, free: 4.578 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.0738, allocations: 8 kB / 0.8382 GB, free: 4.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.07381, allocations: 7.938 kB / 0.8382 GB, free: 4.562 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008693/0.07468, allocations: 0.8533 MB / 0.8391 GB, free: 3.629 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.07496, allocations: 198.8 kB / 0.8393 GB, free: 3.434 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.07505, allocations: 16 kB / 0.8393 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.07551, allocations: 83.92 kB / 0.8394 GB, free: 3.336 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/0.0756, allocations: 72.27 kB / 0.8394 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.07565, allocations: 31.97 kB / 0.8395 GB, free: 3.234 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003865/0.07603, allocations: 0.5275 MB / 0.84 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.07603, allocations: 0 / 0.84 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001162/0.0772, allocations: 0.764 MB / 0.8407 GB, free: 1.934 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.0005278/0.07772, allocations: 322.8 kB / 0.841 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009554/0.07868, allocations: 0.8167 MB / 0.8418 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/0.07869, allocations: 16 kB / 0.8418 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.07897, allocations: 238.5 kB / 0.8421 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.0803, allocations: 0.6488 MB / 0.8427 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.08345, allocations: 2.348 MB / 0.845 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.08364, allocations: 273.5 kB / 0.8453 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0008584/0.0845, allocations: 294.3 kB / 0.8455 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009576/0.08546, allocations: 0.5028 MB / 0.846 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of SimCode: time 1.172e-06/0.08546, allocations: 0 / 0.846 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of Templates: time 0.03479/0.1202, allocations: 30.17 MB / 0.8755 GB, free: 14.85 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.528534267097712]