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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 186.5 kB / 22.23 MB, free: 5.094 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002482/0.002482, allocations: 281.2 kB / 306.5 MB, free: 8.383 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.208/1.208, allocations: 180.9 MB / 0.53 GB, free: 14.39 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002735/0.002735, allocations: 105.1 kB / 0.7308 GB, free: 38.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1619, allocations: 94.2 MB / 0.8228 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004208/0.1661, allocations: 2.356 MB / 0.8251 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1675, allocations: 0.8181 MB / 0.8259 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.1677, allocations: 8 kB / 0.8259 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007053/0.1684, allocations: 151.3 kB / 0.8261 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1686, allocations: 63.67 kB / 0.8261 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.1688, allocations: 47.83 kB / 0.8262 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.169, allocations: 171.4 kB / 0.8263 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.1692, allocations: 69.25 kB / 0.8264 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1694, allocations: 63.77 kB / 0.8265 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.1695, allocations: 75.69 kB / 0.8265 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.1695, allocations: 12 kB / 0.8265 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.1697, allocations: 55.88 kB / 0.8266 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1697, allocations: 35.91 kB / 0.8266 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.302e-05/0.1698, allocations: 71.66 kB / 0.8267 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.1701, allocations: 171.3 kB / 0.8269 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1701, allocations: 4 kB / 0.8269 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1701, allocations: 0 / 0.8269 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.1701, allocations: 0 / 0.8269 GB, free: 13.68 MB / 0.5762 GB 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.0007402/0.1709, allocations: 425.2 kB / 0.8273 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1709, allocations: 8.031 kB / 0.8273 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.1711, allocations: 28.83 kB / 0.8273 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.1714, allocations: 158.3 kB / 0.8275 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/0.1714, allocations: 34.45 kB / 0.8275 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.1715, allocations: 16.12 kB / 0.8275 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.1718, allocations: 149.1 kB / 0.8276 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1718, allocations: 0 / 0.8276 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.1718, allocations: 4 kB / 0.8276 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.1718, allocations: 7.984 kB / 0.8277 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.172, allocations: 87.89 kB / 0.8277 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009039/0.1729, allocations: 0.6082 MB / 0.8283 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.1732, allocations: 54.56 kB / 0.8284 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.1733, allocations: 32.77 kB / 0.8284 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.1733, allocations: 0 / 0.8284 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.1735, allocations: 150.8 kB / 0.8286 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1735, allocations: 3.938 kB / 0.8286 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003999/0.1739, allocations: 159.4 kB / 0.8287 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/0.174, allocations: 132.5 kB / 0.8288 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.1742, allocations: 190.6 kB / 0.829 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1742, allocations: 29.7 kB / 0.8291 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1743, allocations: 140 kB / 0.8292 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.1743, allocations: 27.8 kB / 0.8292 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.1744, allocations: 37.7 kB / 0.8293 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1745, allocations: 322.8 kB / 0.8296 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1746, allocations: 43.97 kB / 0.8296 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1748, allocations: 109.4 kB / 0.8297 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.1751, allocations: 226.3 kB / 0.8299 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1751, allocations: 4 kB / 0.8299 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000402/0.1755, allocations: 244.7 kB / 0.8302 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.1755, allocations: 63.39 kB / 0.8302 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.1756, allocations: 7.938 kB / 0.8302 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1756, allocations: 4 kB / 0.8302 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1757, allocations: 23.98 kB / 0.8303 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1757, allocations: 7.938 kB / 0.8303 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.1758, allocations: 32.14 kB / 0.8303 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.1759, allocations: 12 kB / 0.8303 GB, free: 9.773 MB / 0.5762 GB 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.0001499/0.176, allocations: 166.6 kB / 0.8305 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.176, allocations: 11.95 kB / 0.8305 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.1761, allocations: 13.34 kB / 0.8305 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1761, allocations: 4 kB / 0.8305 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1761, allocations: 0 / 0.8305 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1761, allocations: 3.984 kB / 0.8305 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.1763, allocations: 184.6 kB / 0.8307 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1763, allocations: 3.938 kB / 0.8307 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.046e-05/0.1763, allocations: 19.92 kB / 0.8307 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1763, allocations: 0 / 0.8307 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.1764, allocations: 7.938 kB / 0.8307 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1764, allocations: 0 / 0.8307 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1764, allocations: 0 / 0.8307 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.1768, allocations: 218.7 kB / 0.8309 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.1768, allocations: 7.906 kB / 0.8309 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.1768, allocations: 19.98 kB / 0.8309 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.541e-05/0.1769, allocations: 8 kB / 0.8309 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.177, allocations: 11.98 kB / 0.831 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.177, allocations: 0 / 0.831 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001169/0.1771, allocations: 140.3 kB / 0.8311 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1771, allocations: 0 / 0.8311 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002947/0.1774, allocations: 24 kB / 0.8311 GB, free: 8.867 MB / 0.5762 GB 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.0001158/0.1775, allocations: 107.2 kB / 0.8312 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.1779, allocations: 207 kB / 0.8314 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1779, allocations: 0 / 0.8314 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.178, allocations: 95.38 kB / 0.8315 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.1782, allocations: 19.94 kB / 0.8315 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.1788, allocations: 295.3 kB / 0.8318 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.1792, allocations: 0.7158 MB / 0.8325 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.27e-05/0.1793, allocations: 24.8 kB / 0.8325 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.1793, allocations: 15.44 kB / 0.8325 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.1793, allocations: 3.938 kB / 0.8325 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of Templates: time 0.00465/0.1839, allocations: 1.506 MB / 0.834 GB, free: 5.809 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.953782538883388] Failed to read output from testmodel.py, exit status != 0: 0.19116189237684011 0.20603809 0.032911647 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f45b21d17b0>