Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00102/0.00102, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001323/0.002344, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001111/0.001111, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00135/0.002461, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9352/0.9352, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08134/1.017, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001354/0.001354, allocations: 237.7 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.002486, allocations: 475.5 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7023/0.7023, allocations: 138.7 MB / 384.1 MB, free: 480 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07036/0.7726, allocations: 42.4 MB / 426.5 MB, free: 5.941 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 427.7 MB, free: 4.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.158e-05, allocations: 6.312 kB / 427.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003488/0.00351, allocations: 2.175 MB / 429.9 MB, free: 2.469 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.004665, allocations: 0.7126 MB / 430.6 MB, free: 1.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.004754, allocations: 4 kB / 430.6 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004062/0.00516, allocations: 111.4 kB / 430.8 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.005326, allocations: 75.52 kB / 430.8 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.005495, allocations: 71.73 kB / 430.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.005754, allocations: 179.3 kB / 431.1 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.005949, allocations: 81.78 kB / 431.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.006178, allocations: 127.8 kB / 431.3 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.006343, allocations: 55.8 kB / 431.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.006369, allocations: 12 kB / 431.3 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.0065, allocations: 55.83 kB / 431.4 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.00656, allocations: 35.86 kB / 431.4 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.00662, allocations: 35.94 kB / 431.5 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.006851, allocations: 123.6 kB / 431.6 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/0.006867, allocations: 0 / 431.6 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006868, allocations: 0 / 431.6 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.006885, allocations: 0 / 431.6 MB, free: 0.8008 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.0006209/0.007506, allocations: 427.5 kB / 432 MB, free: 356 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.007541, allocations: 11.98 kB / 432 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/0.007865, allocations: 133.9 kB / 432.1 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.008196, allocations: 154.1 kB / 432.3 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2172/0.2254, allocations: 59.5 kB / 432.4 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.2255, allocations: 11.16 kB / 432.4 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.2257, allocations: 153.4 kB / 432.5 MB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2257, allocations: 2.094 kB / 432.5 MB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2257, allocations: 4.266 kB / 432.5 MB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.2258, allocations: 10.09 kB / 432.5 MB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.212e-05/0.2258, allocations: 58.05 kB / 432.6 MB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.2263, allocations: 491.2 kB / 433.1 MB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.2265, allocations: 63.44 kB / 433.1 MB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.2265, allocations: 49.42 kB / 433.2 MB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.2265, allocations: 7.047 kB / 433.2 MB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.2266, allocations: 165.4 kB / 433.3 MB, free: 1.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.2266, allocations: 0.6562 kB / 433.3 MB, free: 1.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002066/0.2269, allocations: 169 kB / 433.5 MB, free: 17.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.2269, allocations: 137.6 kB / 433.6 MB, free: 16.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.227, allocations: 175.8 kB / 433.8 MB, free: 16.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.227, allocations: 26.69 kB / 433.8 MB, free: 16.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.2271, allocations: 142.4 kB / 434 MB, free: 16.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.2271, allocations: 28.36 kB / 434 MB, free: 16.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.2272, allocations: 37.05 kB / 434 MB, free: 16.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.118e-05/0.2272, allocations: 326.5 kB / 434.4 MB, free: 16.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.5e-05/0.2273, allocations: 68.36 kB / 434.4 MB, free: 16.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-05/0.2273, allocations: 145.6 kB / 434.6 MB, free: 16.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.2275, allocations: 197.1 kB / 434.8 MB, free: 15.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2275, allocations: 1.531 kB / 434.8 MB, free: 15.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001819/0.2277, allocations: 241.8 kB / 435 MB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.2277, allocations: 59.36 kB / 435.1 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2277, allocations: 3.844 kB / 435.1 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.2277, allocations: 5.719 kB / 435.1 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2278, allocations: 36.42 kB / 435.1 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2278, allocations: 4.797 kB / 435.1 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.334e-05/0.2279, allocations: 23.45 kB / 435.1 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.2279, allocations: 6.969 kB / 435.1 MB, free: 15.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 8.657e-05/0.228, allocations: 162.5 kB / 435.3 MB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.228, allocations: 14.09 kB / 435.3 MB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.2281, allocations: 15.11 kB / 435.3 MB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2281, allocations: 3.406 kB / 435.3 MB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.2281, allocations: 0 / 435.3 MB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2281, allocations: 5.031 kB / 435.3 MB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.794e-05/0.2282, allocations: 101.3 kB / 435.4 MB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2282, allocations: 0 / 435.4 MB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.309e-05/0.2282, allocations: 17.11 kB / 435.5 MB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.2282, allocations: 8.016 kB / 435.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2282, allocations: 1.578 kB / 435.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2283, allocations: 2.188 kB / 435.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2283, allocations: 3.594 kB / 435.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2283, allocations: 0.7812 kB / 435.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.2284, allocations: 226.7 kB / 435.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.2285, allocations: 3.25 kB / 435.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.737e-05/0.2285, allocations: 9.375 kB / 435.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.2286, allocations: 10.75 kB / 435.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.2286, allocations: 0.9688 kB / 435.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.329e-05/0.2286, allocations: 45.38 kB / 435.8 MB, free: 15.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2286, allocations: 0.7812 kB / 435.8 MB, free: 15.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001863/0.2288, allocations: 36.95 kB / 435.8 MB, free: 15.23 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 9.131e-05/0.2289, allocations: 84.95 kB / 435.9 MB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.2291, allocations: 275.7 kB / 436.1 MB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.351e-06/0.2291, allocations: 1.703 kB / 436.2 MB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-05/0.2291, allocations: 119.6 kB / 436.3 MB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.2293, allocations: 27.41 kB / 436.3 MB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.2302, allocations: 323.8 kB / 436.6 MB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.2302, allocations: 70.8 kB / 436.7 MB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.387e-05/0.2303, allocations: 11.34 kB / 436.7 MB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.2303, allocations: 77.19 kB / 436.8 MB, free: 14.52 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2303, allocations: 0 / 436.8 MB, free: 14.52 MB / 426.7 MB Notification: Performance of Templates: time 0.00359/0.2339, allocations: 1.625 MB / 438.4 MB, free: 14.48 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4982165517285466]