Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.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.001793/0.001793, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002439/0.002439, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003381/0.003381, allocations: 235.1 kB / 259.8 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.178/1.178, allocations: 138.4 MB / 454.7 MB, free: 1.523 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 0.5543 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.895e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004317/0.004346, allocations: 2.34 MB / 0.5566 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.006032, allocations: 0.8336 MB / 0.5574 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.006137, allocations: 7.938 kB / 0.5574 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006772/0.006814, allocations: 155.3 kB / 0.5575 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.007034, allocations: 63.59 kB / 0.5576 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.007248, allocations: 63.69 kB / 0.5577 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.007538, allocations: 175.4 kB / 0.5578 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.007785, allocations: 81.11 kB / 0.5579 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.008016, allocations: 91.8 kB / 0.558 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.008195, allocations: 59.78 kB / 0.558 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.008228, allocations: 12 kB / 0.5581 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.008379, allocations: 59.83 kB / 0.5581 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.457e-05/0.008454, allocations: 39.89 kB / 0.5582 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.51e-05/0.008539, allocations: 43.86 kB / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.008875, allocations: 187.4 kB / 0.5584 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.008879, allocations: 0 / 0.5584 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.008881, allocations: 4 kB / 0.5584 GB, free: 12.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.008886, allocations: 0 / 0.5584 GB, free: 12.72 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009835/0.00987, allocations: 0.5226 MB / 0.5589 GB, free: 12.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.009911, allocations: 8.75 kB / 0.5589 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003556/0.01027, allocations: 52.83 kB / 0.5589 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.01055, allocations: 163.7 kB / 0.5591 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.099e-05/0.01063, allocations: 64.14 kB / 0.5592 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.01067, allocations: 12.38 kB / 0.5592 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.01099, allocations: 167.4 kB / 0.5593 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.011, allocations: 3.938 kB / 0.5593 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.01102, allocations: 8 kB / 0.5593 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.01104, allocations: 4 kB / 0.5593 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.01126, allocations: 85.66 kB / 0.5594 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.01233, allocations: 0.7112 MB / 0.5601 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.01262, allocations: 100.7 kB / 0.5602 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.01272, allocations: 53.44 kB / 0.5603 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.01273, allocations: 4 kB / 0.5603 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.013, allocations: 182.1 kB / 0.5604 GB, free: 10.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.013, allocations: 0 / 0.5604 GB, free: 10.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004967/0.0135, allocations: 226.8 kB / 0.5607 GB, free: 10.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.01361, allocations: 140.4 kB / 0.5608 GB, free: 9.957 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.01388, allocations: 261.8 kB / 0.561 GB, free: 9.684 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.01391, allocations: 25.7 kB / 0.5611 GB, free: 9.652 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.01407, allocations: 190.5 kB / 0.5613 GB, free: 9.461 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.0141, allocations: 23.84 kB / 0.5613 GB, free: 9.438 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.019e-05/0.01419, allocations: 55.36 kB / 0.5613 GB, free: 9.375 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002819/0.01447, allocations: 0.5001 MB / 0.5618 GB, free: 8.863 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.01461, allocations: 83.39 kB / 0.5619 GB, free: 8.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.01483, allocations: 198.9 kB / 0.5621 GB, free: 8.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.01516, allocations: 249.5 kB / 0.5623 GB, free: 8.211 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01516, allocations: 0 / 0.5623 GB, free: 8.211 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004508/0.01561, allocations: 300 kB / 0.5626 GB, free: 7.887 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.535e-05/0.01567, allocations: 63.72 kB / 0.5627 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01568, allocations: 8 kB / 0.5627 GB, free: 7.805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.0157, allocations: 3.938 kB / 0.5627 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.01584, allocations: 35.86 kB / 0.5627 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.01585, allocations: 4 kB / 0.5627 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.01598, allocations: 27.88 kB / 0.5627 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.016, allocations: 8 kB / 0.5628 GB, free: 7.727 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001738/0.01618, allocations: 202.2 kB / 0.5629 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.01621, allocations: 19.91 kB / 0.563 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.01625, allocations: 13.47 kB / 0.563 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01625, allocations: 4 kB / 0.563 GB, free: 7.473 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01626, allocations: 3.938 kB / 0.563 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01626, allocations: 4 kB / 0.563 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.01648, allocations: 184.5 kB / 0.5632 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.01648, allocations: 0 / 0.5632 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.01655, allocations: 8 kB / 0.5632 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01656, allocations: 0 / 0.5632 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.01657, allocations: 0 / 0.5632 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.01657, allocations: 0 / 0.5632 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.01657, allocations: 7.938 kB / 0.5632 GB, free: 7.234 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.01709, allocations: 297.3 kB / 0.5635 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.01712, allocations: 11.91 kB / 0.5635 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.01715, allocations: 8 kB / 0.5635 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.058e-05/0.01723, allocations: 7.984 kB / 0.5635 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.0173, allocations: 11.92 kB / 0.5635 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.01731, allocations: 8 kB / 0.5635 GB, free: 6.855 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.01746, allocations: 176.2 kB / 0.5637 GB, free: 6.684 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01746, allocations: 0 / 0.5637 GB, free: 6.684 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.01771, allocations: 28 kB / 0.5637 GB, free: 6.656 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000145/0.01786, allocations: 111.2 kB / 0.5638 GB, free: 6.539 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.0183, allocations: 307.8 kB / 0.5641 GB, free: 6.191 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0183, allocations: 0 / 0.5641 GB, free: 6.191 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.01847, allocations: 136.9 kB / 0.5642 GB, free: 6.035 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.01871, allocations: 19.98 kB / 0.5643 GB, free: 6.016 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/0.01939, allocations: 325 kB / 0.5646 GB, free: 5.664 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.0195, allocations: 102.5 kB / 0.5647 GB, free: 5.543 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.057e-05/0.01957, allocations: 20.62 kB / 0.5647 GB, free: 5.523 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.01961, allocations: 16.44 kB / 0.5647 GB, free: 5.508 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01961, allocations: 0 / 0.5647 GB, free: 5.508 MB / 490.7 MB Notification: Performance of Templates: time 0.005394/0.02501, allocations: 1.508 MB / 0.5662 GB, free: 4.039 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.939350112108514]