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.001327/0.001327, allocations: 81.08 kB / 19.94 MB, free: 1.77 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.001371/0.001371, allocations: 169.6 kB / 23.22 MB, free: 4.887 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.378/1.378, allocations: 177.2 MB / 203.5 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 179] 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.8921/0.8921, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.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: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.5546 GB, free: 2.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.186e-05, allocations: 4.578 kB / 0.5546 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003762/0.003794, allocations: 2.283 MB / 0.5569 GB, free: 380 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.005215, allocations: 0.8064 MB / 0.5577 GB, free: 15.56 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.005298, allocations: 7.938 kB / 0.5577 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.005873, allocations: 147.3 kB / 0.5578 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.006065, allocations: 75.52 kB / 0.5579 GB, free: 15.33 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.00624, allocations: 55.81 kB / 0.5579 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.006507, allocations: 171.3 kB / 0.5581 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.006747, allocations: 92.39 kB / 0.5582 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.006964, allocations: 91.8 kB / 0.5583 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.007144, allocations: 55.8 kB / 0.5583 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.007172, allocations: 12 kB / 0.5583 GB, free: 14.87 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.007298, allocations: 59.81 kB / 0.5584 GB, free: 14.81 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.007367, allocations: 43.83 kB / 0.5584 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.177e-05/0.007449, allocations: 47.92 kB / 0.5585 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.007747, allocations: 179.4 kB / 0.5586 GB, free: 14.54 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.00775, allocations: 0 / 0.5586 GB, free: 14.54 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007751, allocations: 0 / 0.5586 GB, free: 14.54 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.007755, allocations: 0 / 0.5586 GB, free: 14.54 MB / 478.1 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.0006775/0.008432, allocations: 427.8 kB / 0.5591 GB, free: 14.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.008464, allocations: 8.625 kB / 0.5591 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.008753, allocations: 40.81 kB / 0.5591 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.008998, allocations: 166 kB / 0.5593 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/0.009065, allocations: 56.16 kB / 0.5593 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.009097, allocations: 16.36 kB / 0.5593 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.009403, allocations: 174.5 kB / 0.5595 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.009414, allocations: 3.938 kB / 0.5595 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.009431, allocations: 11.94 kB / 0.5595 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.009449, allocations: 4 kB / 0.5595 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.009668, allocations: 117.6 kB / 0.5596 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008042/0.01047, allocations: 0.5621 MB / 0.5602 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.01072, allocations: 88.25 kB / 0.5603 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.382e-05/0.01082, allocations: 54.55 kB / 0.5603 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.01083, allocations: 0 / 0.5603 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.01106, allocations: 172.5 kB / 0.5605 GB, free: 12.47 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.01107, allocations: 0 / 0.5605 GB, free: 12.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004231/0.01149, allocations: 226.8 kB / 0.5607 GB, free: 12.22 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.01159, allocations: 144.4 kB / 0.5608 GB, free: 12.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.01176, allocations: 186.3 kB / 0.561 GB, free: 11.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.01179, allocations: 25.7 kB / 0.561 GB, free: 11.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.01189, allocations: 147.6 kB / 0.5612 GB, free: 11.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.01192, allocations: 19.84 kB / 0.5612 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.01198, allocations: 33.72 kB / 0.5612 GB, free: 11.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.01213, allocations: 330.8 kB / 0.5615 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.01225, allocations: 91.39 kB / 0.5616 GB, free: 11.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.01243, allocations: 160.8 kB / 0.5618 GB, free: 10.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.01271, allocations: 230.3 kB / 0.562 GB, free: 10.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.01271, allocations: 4 kB / 0.562 GB, free: 10.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000429/0.01314, allocations: 304.1 kB / 0.5623 GB, free: 10.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.0132, allocations: 67.39 kB / 0.5624 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.0132, allocations: 4 kB / 0.5624 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.01322, allocations: 8.031 kB / 0.5624 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.01334, allocations: 31.92 kB / 0.5624 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.01335, allocations: 8.188 kB / 0.5624 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.01349, allocations: 27.88 kB / 0.5624 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.01351, allocations: 12 kB / 0.5624 GB, free: 10.2 MB / 478.1 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.0001418/0.01365, allocations: 167 kB / 0.5626 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.01368, allocations: 19.84 kB / 0.5626 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.0137, allocations: 13.47 kB / 0.5626 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.0137, allocations: 0 / 0.5626 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01371, allocations: 7.875 kB / 0.5626 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01371, allocations: 0 / 0.5626 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.01387, allocations: 161.2 kB / 0.5628 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01387, allocations: 0 / 0.5628 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.01395, allocations: 8 kB / 0.5628 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01395, allocations: 0 / 0.5628 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.01396, allocations: 0 / 0.5628 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.01397, allocations: 11.98 kB / 0.5628 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01397, allocations: 0 / 0.5628 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.01443, allocations: 278 kB / 0.5631 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.01445, allocations: 11.94 kB / 0.5631 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.01448, allocations: 4 kB / 0.5631 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.01457, allocations: 12.05 kB / 0.5631 GB, free: 9.449 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.01464, allocations: 19.86 kB / 0.5631 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.01465, allocations: 4 kB / 0.5631 GB, free: 9.426 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.01476, allocations: 131.2 kB / 0.5633 GB, free: 9.297 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01476, allocations: 0 / 0.5633 GB, free: 9.297 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000245/0.01501, allocations: 32 kB / 0.5633 GB, free: 9.266 MB / 478.1 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.0001031/0.01511, allocations: 97.11 kB / 0.5634 GB, free: 9.164 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004139/0.01553, allocations: 299.9 kB / 0.5637 GB, free: 8.828 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01553, allocations: 0 / 0.5637 GB, free: 8.828 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.01567, allocations: 121.1 kB / 0.5638 GB, free: 8.691 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.01589, allocations: 19.88 kB / 0.5638 GB, free: 8.676 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.01647, allocations: 303.7 kB / 0.5641 GB, free: 8.348 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.01658, allocations: 110.8 kB / 0.5642 GB, free: 8.215 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.052e-05/0.01664, allocations: 12.64 kB / 0.5642 GB, free: 8.203 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.01667, allocations: 20.5 kB / 0.5642 GB, free: 8.184 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01667, allocations: 0 / 0.5642 GB, free: 8.184 MB / 478.1 MB Notification: Performance of Templates: time 0.004733/0.0214, allocations: 1.474 MB / 0.5657 GB, free: 6.754 MB / 478.1 MB " [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: 5.2080007791519165] Failed to read output from testmodel.py, exit status != 0: 0.030095409601926804 0.045828257000000004 0.033684119000000005 Calling exit ...