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.0006395/0.0006395, allocations: 84.44 kB / 20.7 MB, free: 3.863 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.0007317/0.0007317, allocations: 165.9 kB / 23.96 MB, free: 0.5938 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.8519/0.8519, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 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.5374/0.5374, allocations: 114 MB / 374.7 MB, free: 8.727 MB / 346.7 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.493e-06/1.493e-06, allocations: 0 / 0.5554 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.442e-05, allocations: 6.281 kB / 0.5554 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002813/0.002837, allocations: 2.29 MB / 0.5576 GB, free: 52 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.003758, allocations: 0.8219 MB / 0.5584 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.003837, allocations: 7.938 kB / 0.5584 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.004271, allocations: 143.3 kB / 0.5585 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.004403, allocations: 67.53 kB / 0.5586 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.004528, allocations: 79.72 kB / 0.5587 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.004706, allocations: 155.4 kB / 0.5588 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.004913, allocations: 77.17 kB / 0.5589 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.005063, allocations: 99.72 kB / 0.559 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.005184, allocations: 59.8 kB / 0.5591 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.005203, allocations: 12 kB / 0.5591 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.005283, allocations: 59.81 kB / 0.5591 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.005326, allocations: 35.91 kB / 0.5592 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.005374, allocations: 47.84 kB / 0.5592 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.005574, allocations: 179.4 kB / 0.5594 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.005576, allocations: 4 kB / 0.5594 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005577, allocations: 4 kB / 0.5594 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.005581, allocations: 0 / 0.5594 GB, free: 14.21 MB / 0.5261 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.0004941/0.006075, allocations: 421.2 kB / 0.5598 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.006107, allocations: 8.625 kB / 0.5598 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.006283, allocations: 32.83 kB / 0.5598 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.006457, allocations: 162.8 kB / 0.56 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/0.00651, allocations: 72.08 kB / 0.5601 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.00653, allocations: 12.38 kB / 0.5601 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.00674, allocations: 184.3 kB / 0.5602 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.006747, allocations: 0 / 0.5602 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.006759, allocations: 4 kB / 0.5602 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.006774, allocations: 8 kB / 0.5603 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.006902, allocations: 113.6 kB / 0.5604 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.007409, allocations: 0.5543 MB / 0.5609 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.00758, allocations: 88.25 kB / 0.561 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.007627, allocations: 54.61 kB / 0.561 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.007639, allocations: 0 / 0.561 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.007795, allocations: 180.4 kB / 0.5612 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.007796, allocations: 0 / 0.5612 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002407/0.008037, allocations: 214.8 kB / 0.5614 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.008091, allocations: 144.4 kB / 0.5616 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.008204, allocations: 190.3 kB / 0.5617 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.008217, allocations: 33.7 kB / 0.5618 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.008284, allocations: 139.8 kB / 0.5619 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.008303, allocations: 27.78 kB / 0.5619 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.008344, allocations: 33.7 kB / 0.562 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.008425, allocations: 326.8 kB / 0.5623 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.008496, allocations: 99.28 kB / 0.5624 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.537e-05/0.008591, allocations: 168.8 kB / 0.5625 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.008746, allocations: 230.4 kB / 0.5627 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008748, allocations: 0 / 0.5627 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002271/0.008976, allocations: 296.2 kB / 0.563 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.009011, allocations: 69.11 kB / 0.5631 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.009016, allocations: 4 kB / 0.5631 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.009028, allocations: 4 kB / 0.5631 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.0091, allocations: 39.8 kB / 0.5631 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.009107, allocations: 4 kB / 0.5631 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.009177, allocations: 32.14 kB / 0.5632 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.009186, allocations: 8 kB / 0.5632 GB, free: 9.875 MB / 0.5261 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 8.529e-05/0.009271, allocations: 171.5 kB / 0.5633 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.009285, allocations: 11.95 kB / 0.5634 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.009307, allocations: 13.47 kB / 0.5634 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.009309, allocations: 0 / 0.5634 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.009313, allocations: 3.938 kB / 0.5634 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.009316, allocations: 3.984 kB / 0.5634 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.77e-05/0.009404, allocations: 145.2 kB / 0.5635 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.009405, allocations: 3.938 kB / 0.5635 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.009446, allocations: 16 kB / 0.5635 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.009447, allocations: 3.938 kB / 0.5635 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.009457, allocations: 11.98 kB / 0.5636 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.009458, allocations: 0 / 0.5636 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009459, allocations: 0 / 0.5636 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.009978, allocations: 282.3 kB / 0.5638 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.009993, allocations: 11.94 kB / 0.5638 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.01001, allocations: 11.98 kB / 0.5638 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.01005, allocations: 8 kB / 0.5639 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.0101, allocations: 15.98 kB / 0.5639 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.0101, allocations: 4 kB / 0.5639 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.587e-05/0.01017, allocations: 131.2 kB / 0.564 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01017, allocations: 0 / 0.564 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001465/0.01032, allocations: 28 kB / 0.564 GB, free: 8.93 MB / 0.5261 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 6.968e-05/0.01039, allocations: 101.1 kB / 0.5641 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.01061, allocations: 296.2 kB / 0.5644 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01061, allocations: 4.125 kB / 0.5644 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.01068, allocations: 121 kB / 0.5645 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.01083, allocations: 23.72 kB / 0.5645 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.01125, allocations: 337.3 kB / 0.5649 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.145e-05/0.01131, allocations: 98.27 kB / 0.565 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.01134, allocations: 20.5 kB / 0.565 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/0.01134, allocations: 0 / 0.565 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of Templates: time 0.002317/0.01366, allocations: 1.783 MB / 0.5667 GB, free: 6.055 MB / 0.5261 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: 4.888778978958726] Failed to read output from testmodel.py, exit status != 0: 0.018447906710207462 0.026643469000000003 0.019351280000000002 Calling exit ...