Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.002288/0.002288, allocations: 211.4 kB / 23.76 MB, free: 4.727 MB / 14.72 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.9972/0.9972, allocations: 150 MB / 463.9 MB, free: 10.51 MB / 366.1 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.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 66.03 kB / 0.6425 GB, free: 9.949 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1639, allocations: 89.18 MB / 0.7295 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004142/0.1681, allocations: 2.371 MB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1697, allocations: 0.8882 MB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.1699, allocations: 3.938 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006454/0.1705, allocations: 147.4 kB / 0.7329 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1707, allocations: 71.61 kB / 0.7329 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.1709, allocations: 71.73 kB / 0.733 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.1712, allocations: 159.5 kB / 0.7332 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.1714, allocations: 85.05 kB / 0.7332 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1716, allocations: 71.77 kB / 0.7333 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.1718, allocations: 75.67 kB / 0.7334 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.1718, allocations: 15.94 kB / 0.7334 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.172, allocations: 55.94 kB / 0.7335 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.869e-05/0.172, allocations: 43.84 kB / 0.7335 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.96e-05/0.1721, allocations: 63.67 kB / 0.7336 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.1724, allocations: 179.3 kB / 0.7337 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1724, allocations: 0 / 0.7337 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1724, allocations: 0 / 0.7337 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.1724, allocations: 0 / 0.7337 GB, free: 12.53 MB / 0.5606 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.0007804/0.1732, allocations: 425.2 kB / 0.7341 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1733, allocations: 11.97 kB / 0.7341 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003189/0.1736, allocations: 40.83 kB / 0.7342 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1738, allocations: 166.8 kB / 0.7343 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.954e-05/0.1739, allocations: 71.7 kB / 0.7344 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.174, allocations: 8 kB / 0.7344 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.1743, allocations: 144.7 kB / 0.7346 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1743, allocations: 0 / 0.7346 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.1743, allocations: 8 kB / 0.7346 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.1743, allocations: 4 kB / 0.7346 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.1745, allocations: 91.88 kB / 0.7347 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009229/0.1755, allocations: 0.6004 MB / 0.7352 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1757, allocations: 62.56 kB / 0.7353 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/0.1758, allocations: 20.84 kB / 0.7353 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1758, allocations: 4 kB / 0.7353 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.176, allocations: 146.9 kB / 0.7355 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.176, allocations: 4 kB / 0.7355 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004099/0.1764, allocations: 159.2 kB / 0.7356 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/0.1765, allocations: 136.5 kB / 0.7358 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.1767, allocations: 186.7 kB / 0.7359 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1767, allocations: 25.7 kB / 0.736 GB, free: 10 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1768, allocations: 140 kB / 0.7361 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.1769, allocations: 23.84 kB / 0.7361 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.1769, allocations: 41.7 kB / 0.7362 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1771, allocations: 326.8 kB / 0.7365 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.963e-05/0.1772, allocations: 39.97 kB / 0.7365 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.1773, allocations: 105.4 kB / 0.7366 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.1776, allocations: 242.3 kB / 0.7368 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1776, allocations: 0 / 0.7368 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003928/0.178, allocations: 245 kB / 0.7371 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.1781, allocations: 63.39 kB / 0.7371 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1781, allocations: 0 / 0.7371 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1781, allocations: 4 kB / 0.7371 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1782, allocations: 35.92 kB / 0.7372 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1782, allocations: 7.938 kB / 0.7372 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.1784, allocations: 31.77 kB / 0.7372 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.1784, allocations: 12 kB / 0.7372 GB, free: 8.574 MB / 0.5606 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.0001514/0.1785, allocations: 165.8 kB / 0.7374 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.1786, allocations: 15.89 kB / 0.7374 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.1786, allocations: 17.44 kB / 0.7374 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1786, allocations: 0 / 0.7374 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1786, allocations: 0 / 0.7374 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1786, allocations: 0 / 0.7374 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.1788, allocations: 192.6 kB / 0.7376 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1788, allocations: 0 / 0.7376 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.427e-05/0.1789, allocations: 15.92 kB / 0.7376 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1789, allocations: 0 / 0.7376 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1789, allocations: 8 kB / 0.7376 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1789, allocations: 4 kB / 0.7376 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1789, allocations: 0 / 0.7376 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.1793, allocations: 214.7 kB / 0.7378 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.1794, allocations: 15.88 kB / 0.7378 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.1794, allocations: 4 kB / 0.7378 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1795, allocations: 16.05 kB / 0.7379 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.1795, allocations: 7.984 kB / 0.7379 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.1796, allocations: 4 kB / 0.7379 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001244/0.1797, allocations: 136.2 kB / 0.738 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1797, allocations: 0 / 0.738 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002645/0.1799, allocations: 35.94 kB / 0.738 GB, free: 7.652 MB / 0.5606 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.000104/0.18, allocations: 96.05 kB / 0.7381 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.1804, allocations: 215.1 kB / 0.7383 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1804, allocations: 0 / 0.7383 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.1805, allocations: 87.38 kB / 0.7384 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.1808, allocations: 15.94 kB / 0.7384 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.1814, allocations: 324.7 kB / 0.7387 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.1818, allocations: 0.7201 MB / 0.7394 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.1818, allocations: 15.44 kB / 0.7395 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.1818, allocations: 0 / 0.7395 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of Templates: time 0.00379/0.1856, allocations: 1.74 MB / 0.7412 GB, free: 4.367 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.287572732195258] Failed to read output from testmodel.py, exit status != 0: 0.1940257519017905 0.20834978999999995 0.032832762 Calling exit ...