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.0009534/0.0009534, allocations: 81.08 kB / 19.87 MB, free: 4.617 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.0009676/0.0009676, allocations: 169 kB / 23.27 MB, free: 1.219 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.8975/0.8975, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.001666/0.001666, allocations: 253.5 kB / 260.5 MB, free: 12.66 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 0.719/0.719, allocations: 138.4 MB / 455.5 MB, free: 29.92 MB / 410.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.092e-06/1.092e-06, allocations: 0 / 0.5555 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.358e-05, allocations: 2.312 kB / 0.5555 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002199/0.002213, allocations: 2.106 MB / 0.5576 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007276/0.00294, allocations: 0.6854 MB / 0.5583 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.003006, allocations: 4 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.003295, allocations: 103.5 kB / 0.5584 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.003407, allocations: 71.52 kB / 0.5584 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.003507, allocations: 63.8 kB / 0.5585 GB, free: 12.88 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.00366, allocations: 163.4 kB / 0.5586 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.003799, allocations: 96.81 kB / 0.5587 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.003934, allocations: 91.8 kB / 0.5588 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.004037, allocations: 55.86 kB / 0.5589 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.004054, allocations: 16 kB / 0.5589 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.841e-05/0.004123, allocations: 55.81 kB / 0.559 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.004164, allocations: 47.83 kB / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.004207, allocations: 43.92 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.004356, allocations: 139.5 kB / 0.5592 GB, free: 12.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.004357, allocations: 0 / 0.5592 GB, free: 12.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004357, allocations: 0 / 0.5592 GB, free: 12.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.826e-06/0.00436, allocations: 0 / 0.5592 GB, free: 12.18 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.0003909/0.004751, allocations: 0.5151 MB / 0.5597 GB, free: 11.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.004781, allocations: 9.938 kB / 0.5597 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.004948, allocations: 52.83 kB / 0.5597 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.005078, allocations: 167.9 kB / 0.5599 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.005115, allocations: 64.14 kB / 0.56 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.00513, allocations: 12.38 kB / 0.56 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.005272, allocations: 155 kB / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.00528, allocations: 3.938 kB / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.005289, allocations: 4 kB / 0.5601 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.005301, allocations: 8 kB / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.325e-05/0.005354, allocations: 57.66 kB / 0.5602 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.005826, allocations: 0.6916 MB / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.005946, allocations: 80.67 kB / 0.5609 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.005974, allocations: 41.45 kB / 0.561 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.005987, allocations: 3.984 kB / 0.561 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.00611, allocations: 166.1 kB / 0.5611 GB, free: 9.938 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.006111, allocations: 0 / 0.5611 GB, free: 9.938 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001882/0.0063, allocations: 198.8 kB / 0.5613 GB, free: 9.719 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.006343, allocations: 136.5 kB / 0.5615 GB, free: 9.555 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.006451, allocations: 245.7 kB / 0.5617 GB, free: 9.297 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.006465, allocations: 29.7 kB / 0.5617 GB, free: 9.262 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.006539, allocations: 186.5 kB / 0.5619 GB, free: 9.074 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.006557, allocations: 23.83 kB / 0.5619 GB, free: 9.051 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.0066, allocations: 43.31 kB / 0.562 GB, free: 9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.00672, allocations: 0.5001 MB / 0.5625 GB, free: 8.488 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.006771, allocations: 67.39 kB / 0.5625 GB, free: 8.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.006841, allocations: 169 kB / 0.5627 GB, free: 8.188 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.00698, allocations: 229.5 kB / 0.5629 GB, free: 7.898 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.006982, allocations: 0 / 0.5629 GB, free: 7.898 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001783/0.00716, allocations: 264.2 kB / 0.5631 GB, free: 7.609 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.007189, allocations: 67.39 kB / 0.5632 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.007194, allocations: 4 kB / 0.5632 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.007204, allocations: 0 / 0.5632 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.007275, allocations: 35.86 kB / 0.5633 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.007279, allocations: 4 kB / 0.5633 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.00734, allocations: 19.89 kB / 0.5633 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.007351, allocations: 12.27 kB / 0.5633 GB, free: 7.457 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 7.93e-05/0.00743, allocations: 202.2 kB / 0.5635 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.007446, allocations: 15.91 kB / 0.5635 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.007473, allocations: 17.45 kB / 0.5635 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.007475, allocations: 0 / 0.5635 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.007477, allocations: 3.938 kB / 0.5635 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.00748, allocations: 4 kB / 0.5635 GB, free: 7.203 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.191e-05/0.007562, allocations: 129.1 kB / 0.5636 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.007563, allocations: 0 / 0.5636 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.007599, allocations: 8 kB / 0.5636 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.0076, allocations: 3.984 kB / 0.5637 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.007608, allocations: 8 kB / 0.5637 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.00761, allocations: 7.938 kB / 0.5637 GB, free: 7.023 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007611, allocations: 3.938 kB / 0.5637 GB, free: 7.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.007852, allocations: 245.4 kB / 0.5639 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.007866, allocations: 15.91 kB / 0.5639 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.007879, allocations: 0 / 0.5639 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.586e-05/0.007915, allocations: 11.98 kB / 0.5639 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.007948, allocations: 7.984 kB / 0.5639 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.007953, allocations: 4 kB / 0.5639 GB, free: 6.699 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.161e-05/0.008005, allocations: 156.1 kB / 0.5641 GB, free: 6.547 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008005, allocations: 4.031 kB / 0.5641 GB, free: 6.543 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000144/0.008149, allocations: 35.95 kB / 0.5641 GB, free: 6.508 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 6.435e-05/0.008213, allocations: 103.2 kB / 0.5642 GB, free: 6.402 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.008373, allocations: 275.4 kB / 0.5645 GB, free: 6.086 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.008374, allocations: 0 / 0.5645 GB, free: 6.086 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.208e-05/0.008436, allocations: 112.7 kB / 0.5646 GB, free: 5.953 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.008574, allocations: 31.84 kB / 0.5646 GB, free: 5.926 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.009008, allocations: 312.4 kB / 0.5649 GB, free: 5.586 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.009039, allocations: 67.33 kB / 0.565 GB, free: 5.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.322e-05/0.009072, allocations: 16.64 kB / 0.565 GB, free: 5.484 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.009146, allocations: 98.19 kB / 0.5651 GB, free: 5.387 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009147, allocations: 0 / 0.5651 GB, free: 5.387 MB / 490.7 MB Notification: Performance of Templates: time 0.00302/0.01217, allocations: 1.594 MB / 0.5667 GB, free: 3.832 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: 3.5901410477235913]