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.001062/0.001062, allocations: 84.33 kB / 20.95 MB, free: 3.594 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.00118/0.00118, allocations: 169 kB / 24.25 MB, free: 296 kB / 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.9761/0.9761, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.6405/0.6405, allocations: 115 MB / 376 MB, free: 7.656 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.804e-06/1.804e-06, allocations: 0.5469 kB / 481.5 MB, free: 11.99 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.001e-05, allocations: 5.188 kB / 481.5 MB, free: 11.99 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003801/0.003831, allocations: 2.377 MB / 483.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.005218, allocations: 0.8315 MB / 484.7 MB, free: 9.941 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.005343, allocations: 5.875 kB / 484.7 MB, free: 9.938 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006318/0.005975, allocations: 159.8 kB / 484.8 MB, free: 9.848 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.006174, allocations: 66.11 kB / 484.9 MB, free: 9.809 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.006371, allocations: 62.89 kB / 485 MB, free: 9.773 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.006636, allocations: 165.6 kB / 485.1 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.006893, allocations: 82.59 kB / 485.2 MB, free: 9.656 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.00712, allocations: 97.56 kB / 485.3 MB, free: 9.617 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.007292, allocations: 60.39 kB / 485.4 MB, free: 9.598 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.007323, allocations: 11.22 kB / 485.4 MB, free: 9.598 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.007446, allocations: 57.11 kB / 485.4 MB, free: 9.582 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.007509, allocations: 40.44 kB / 485.5 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.379e-05/0.007583, allocations: 46.88 kB / 485.5 MB, free: 9.539 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.007844, allocations: 130.1 kB / 485.6 MB, free: 9.484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.007848, allocations: 0 / 485.6 MB, free: 9.484 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.007849, allocations: 0 / 485.6 MB, free: 9.484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.007855, allocations: 0.5625 kB / 485.6 MB, free: 9.484 MB / 410.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.0006241/0.008479, allocations: 0.5229 MB / 486.2 MB, free: 8.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.008526, allocations: 9.469 kB / 486.2 MB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.008902, allocations: 47.72 kB / 486.2 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.009134, allocations: 160 kB / 486.4 MB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/0.009196, allocations: 65.2 kB / 486.4 MB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.009228, allocations: 13.25 kB / 486.4 MB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.009482, allocations: 161.6 kB / 486.6 MB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.009492, allocations: 3.938 kB / 486.6 MB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.00951, allocations: 6.531 kB / 486.6 MB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.009536, allocations: 4.781 kB / 486.6 MB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.009657, allocations: 65.61 kB / 486.7 MB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.01059, allocations: 0.6805 MB / 487.4 MB, free: 23.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.01081, allocations: 81.94 kB / 487.4 MB, free: 23.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.01086, allocations: 46.2 kB / 487.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.01087, allocations: 4.188 kB / 487.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.01103, allocations: 170.8 kB / 487.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.01103, allocations: 3.938 kB / 487.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003074/0.01134, allocations: 199.3 kB / 487.9 MB, free: 23.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.01138, allocations: 139.3 kB / 488 MB, free: 23.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.01154, allocations: 236.6 kB / 488.2 MB, free: 23.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.01156, allocations: 27.23 kB / 488.3 MB, free: 23.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.01164, allocations: 192.5 kB / 488.4 MB, free: 22.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.01166, allocations: 24.12 kB / 488.5 MB, free: 22.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.01173, allocations: 44.38 kB / 488.5 MB, free: 22.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.01186, allocations: 0.4924 MB / 489 MB, free: 22.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.38e-05/0.01192, allocations: 72.62 kB / 489.1 MB, free: 22.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.025e-05/0.01201, allocations: 173.6 kB / 489.2 MB, free: 22.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.01217, allocations: 229.8 kB / 489.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.01217, allocations: 4.688 kB / 489.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003109/0.01248, allocations: 275.3 kB / 489.7 MB, free: 21.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.01253, allocations: 64.03 kB / 489.8 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.01253, allocations: 1.5 kB / 489.8 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01255, allocations: 3.5 kB / 489.8 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.01268, allocations: 35.64 kB / 489.8 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.01269, allocations: 4.656 kB / 489.8 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.01279, allocations: 25.77 kB / 489.9 MB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.01281, allocations: 9.719 kB / 489.9 MB, free: 21.59 MB / 426.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 0.0001191/0.01293, allocations: 199.2 kB / 490.1 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.01296, allocations: 26.39 kB / 490.1 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.01299, allocations: 13.16 kB / 490.1 MB, free: 21.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.01299, allocations: 0 / 490.1 MB, free: 21.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.013, allocations: 5.031 kB / 490.1 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.013, allocations: 0.9062 kB / 490.1 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.01313, allocations: 155.9 kB / 490.3 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01313, allocations: 0 / 490.3 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.959e-05/0.0132, allocations: 15.25 kB / 490.3 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.01321, allocations: 1.375 kB / 490.3 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.01322, allocations: 4.875 kB / 490.3 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.01322, allocations: 0 / 490.3 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01323, allocations: 5.219 kB / 490.3 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.01354, allocations: 257.5 kB / 490.6 MB, free: 21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.01356, allocations: 15.62 kB / 490.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.01359, allocations: 5.312 kB / 490.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.01366, allocations: 5.875 kB / 490.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.01372, allocations: 13.7 kB / 490.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.01373, allocations: 3.656 kB / 490.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.01384, allocations: 165.4 kB / 490.8 MB, free: 20.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01384, allocations: 1.438 kB / 490.8 MB, free: 20.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002884/0.01413, allocations: 29.88 kB / 490.8 MB, free: 20.84 MB / 426.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 0.0001103/0.01424, allocations: 104.5 kB / 490.9 MB, free: 20.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.01452, allocations: 276.6 kB / 491.2 MB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01453, allocations: 0 / 491.2 MB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.541e-05/0.01462, allocations: 123.3 kB / 491.3 MB, free: 20.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.01488, allocations: 24.98 kB / 491.3 MB, free: 20.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008422/0.01572, allocations: 317.6 kB / 491.6 MB, free: 20.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.734e-05/0.01577, allocations: 71.25 kB / 491.7 MB, free: 20.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.505e-05/0.01584, allocations: 19.38 kB / 491.7 MB, free: 20.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.01588, allocations: 14.34 kB / 491.7 MB, free: 20.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01589, allocations: 0 / 491.7 MB, free: 20.06 MB / 426.7 MB Notification: Performance of Templates: time 0.004886/0.02077, allocations: 1.493 MB / 493.2 MB, free: 19.93 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8100369861349463]