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.001442/0.001442, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001196/0.001196, allocations: 172.3 kB / 24.84 MB, free: 9.293 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 1.129/1.129, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.6353/0.6353, allocations: 115 MB / 376.8 MB, free: 7.496 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.964e-06/1.964e-06, allocations: 1.203 kB / 482.7 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.297e-05, allocations: 5.484 kB / 482.7 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00365/0.003673, allocations: 2.107 MB / 484.8 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.004907, allocations: 0.6868 MB / 485.5 MB, free: 9.977 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.005038, allocations: 5.344 kB / 485.5 MB, free: 9.973 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.005525, allocations: 96.12 kB / 485.6 MB, free: 9.918 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.005754, allocations: 73.69 kB / 485.7 MB, free: 9.871 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.005964, allocations: 67.75 kB / 485.7 MB, free: 9.836 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.006215, allocations: 162.3 kB / 485.9 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.00643, allocations: 80.08 kB / 486 MB, free: 9.727 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.006668, allocations: 97.2 kB / 486.1 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.006856, allocations: 59.06 kB / 486.1 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.006889, allocations: 12.28 kB / 486.1 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.007024, allocations: 64.06 kB / 486.2 MB, free: 9.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.007087, allocations: 34.98 kB / 486.2 MB, free: 9.629 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.007158, allocations: 47.86 kB / 486.3 MB, free: 9.605 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.007415, allocations: 132.6 kB / 486.4 MB, free: 9.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.007418, allocations: 0 / 486.4 MB, free: 9.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007419, allocations: 1.562 kB / 486.4 MB, free: 9.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.007425, allocations: 0 / 486.4 MB, free: 9.551 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.0005548/0.00798, allocations: 0.5136 MB / 486.9 MB, free: 9.055 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.00802, allocations: 13.09 kB / 486.9 MB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.008335, allocations: 55.91 kB / 487 MB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.008543, allocations: 156.6 kB / 487.1 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.146e-05/0.008594, allocations: 66.48 kB / 487.2 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.008623, allocations: 9.469 kB / 487.2 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.008841, allocations: 169.9 kB / 487.4 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.008852, allocations: 0 / 487.4 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.008866, allocations: 6.406 kB / 487.4 MB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.008887, allocations: 5.656 kB / 487.4 MB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.144e-05/0.008979, allocations: 62.23 kB / 487.5 MB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000817/0.009796, allocations: 0.6833 MB / 488.1 MB, free: 24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.00997, allocations: 75.06 kB / 488.2 MB, free: 23.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.01001, allocations: 51.78 kB / 488.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.01002, allocations: 1.469 kB / 488.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.01017, allocations: 167.1 kB / 488.4 MB, free: 23.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.01018, allocations: 0 / 488.4 MB, free: 23.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002639/0.01044, allocations: 189.2 kB / 488.6 MB, free: 23.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.01048, allocations: 143.4 kB / 488.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.01063, allocations: 232.7 kB / 489 MB, free: 23.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.01064, allocations: 26.42 kB / 489 MB, free: 23.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.01073, allocations: 194.4 kB / 489.2 MB, free: 23.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.01075, allocations: 16.86 kB / 489.2 MB, free: 23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.01082, allocations: 48.94 kB / 489.3 MB, free: 22.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.01097, allocations: 0.4986 MB / 489.8 MB, free: 22.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.01102, allocations: 66.72 kB / 489.8 MB, free: 22.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.661e-05/0.01111, allocations: 180.5 kB / 490 MB, free: 22.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.01126, allocations: 218.4 kB / 490.2 MB, free: 21.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.01126, allocations: 1.344 kB / 490.2 MB, free: 21.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003062/0.01157, allocations: 271.1 kB / 490.5 MB, free: 21.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.01161, allocations: 60.06 kB / 490.5 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01162, allocations: 2.469 kB / 490.5 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.01163, allocations: 5.875 kB / 490.5 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.01176, allocations: 37.08 kB / 490.6 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.01177, allocations: 7.969 kB / 490.6 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.01189, allocations: 17.61 kB / 490.6 MB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.01191, allocations: 11.47 kB / 490.6 MB, free: 21.66 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.000125/0.01203, allocations: 198.4 kB / 490.8 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.01207, allocations: 20.09 kB / 490.8 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.0121, allocations: 16.11 kB / 490.8 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.0121, allocations: 5.125 kB / 490.9 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.0121, allocations: 5.375 kB / 490.9 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01211, allocations: 1.219 kB / 490.9 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.01223, allocations: 128.2 kB / 491 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01223, allocations: 1.312 kB / 491 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.0123, allocations: 7.938 kB / 491 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.01231, allocations: 4 kB / 491 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.01232, allocations: 3.062 kB / 491 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.01232, allocations: 4.453 kB / 491 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01232, allocations: 2.969 kB / 491 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.01263, allocations: 247.3 kB / 491.2 MB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.01265, allocations: 14.05 kB / 491.3 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.01268, allocations: 6.938 kB / 491.3 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.01275, allocations: 5.562 kB / 491.3 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.0128, allocations: 9.688 kB / 491.3 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.01281, allocations: 9.703 kB / 491.3 MB, free: 21.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.257e-05/0.0129, allocations: 164.6 kB / 491.5 MB, free: 20.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0129, allocations: 0 / 491.5 MB, free: 20.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.01319, allocations: 32.06 kB / 491.5 MB, free: 20.95 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.0001134/0.0133, allocations: 101.2 kB / 491.6 MB, free: 20.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.01356, allocations: 277.5 kB / 491.9 MB, free: 20.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01356, allocations: 0 / 491.9 MB, free: 20.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.98e-05/0.01365, allocations: 117.1 kB / 492 MB, free: 20.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01391, allocations: 26.59 kB / 492 MB, free: 20.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/0.01462, allocations: 311.1 kB / 492.3 MB, free: 20.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.597e-05/0.01467, allocations: 68.8 kB / 492.4 MB, free: 20.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.4e-05/0.01473, allocations: 12.56 kB / 492.4 MB, free: 20.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.01485, allocations: 99.39 kB / 492.5 MB, free: 20.11 MB / 426.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01485, allocations: 0 / 492.5 MB, free: 20.11 MB / 426.7 MB Notification: Performance of Templates: time 0.003346/0.0182, allocations: 1.628 MB / 494.1 MB, free: 19.95 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.7118675587698817]