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.001363/0.001363, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001489/0.001489, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9268/0.9268, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001691/0.001691, allocations: 253.3 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6896/0.6896, allocations: 138.4 MB / 402.2 MB, free: 0.5547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.533e-06/1.533e-06, allocations: 0 / 462.3 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.837e-06/1.037e-05, allocations: 2.938 kB / 462.3 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002226/0.002237, allocations: 2.113 MB / 464.4 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.003102, allocations: 0.7001 MB / 465.1 MB, free: 15.06 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.489e-05/0.003176, allocations: 6.406 kB / 465.1 MB, free: 15.06 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.003521, allocations: 100.5 kB / 465.2 MB, free: 15 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.003678, allocations: 65.7 kB / 465.3 MB, free: 14.97 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.003819, allocations: 72.45 kB / 465.3 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.003998, allocations: 168 kB / 465.5 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.004151, allocations: 86.5 kB / 465.6 MB, free: 14.81 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.004305, allocations: 101.4 kB / 465.7 MB, free: 14.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.004431, allocations: 61.8 kB / 465.7 MB, free: 14.74 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.004451, allocations: 11.75 kB / 465.7 MB, free: 14.74 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.845e-05/0.00454, allocations: 55.05 kB / 465.8 MB, free: 14.73 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.004589, allocations: 38.77 kB / 465.8 MB, free: 14.71 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.004641, allocations: 45.39 kB / 465.9 MB, free: 14.69 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.004815, allocations: 132 kB / 466 MB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-06/0.004816, allocations: 5.5 kB / 466 MB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004817, allocations: 0 / 466 MB, free: 14.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.075e-06/0.00482, allocations: 0 / 466 MB, free: 14.63 MB / 426.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.0003818/0.005201, allocations: 396 kB / 466.4 MB, free: 14.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.598e-05/0.005227, allocations: 11.59 kB / 466.4 MB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.005413, allocations: 51.98 kB / 466.5 MB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.005566, allocations: 149.4 kB / 466.6 MB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.005606, allocations: 62.03 kB / 466.7 MB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.005627, allocations: 9 kB / 466.7 MB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.005784, allocations: 159.2 kB / 466.8 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.005791, allocations: 2.516 kB / 466.8 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.005802, allocations: 12.45 kB / 466.8 MB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.005815, allocations: 4.672 kB / 466.9 MB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.005873, allocations: 58.23 kB / 466.9 MB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.006285, allocations: 491.6 kB / 467.4 MB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.0064, allocations: 70.75 kB / 467.5 MB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.006429, allocations: 44.3 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.006437, allocations: 4.5 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.00656, allocations: 162 kB / 467.7 MB, free: 13.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.006561, allocations: 4 kB / 467.7 MB, free: 13.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001376/0.006698, allocations: 160.4 kB / 467.8 MB, free: 12.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.00675, allocations: 144.6 kB / 468 MB, free: 12.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.006838, allocations: 174.4 kB / 468.1 MB, free: 12.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.006852, allocations: 37.69 kB / 468.2 MB, free: 12.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.006902, allocations: 132.2 kB / 468.3 MB, free: 12.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.006916, allocations: 20.64 kB / 468.3 MB, free: 12.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.006956, allocations: 37.66 kB / 468.4 MB, free: 12.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.007026, allocations: 328 kB / 468.7 MB, free: 11.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.364e-05/0.007059, allocations: 67.39 kB / 468.7 MB, free: 11.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.021e-05/0.00713, allocations: 148.8 kB / 468.9 MB, free: 11.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.007236, allocations: 197.1 kB / 469.1 MB, free: 11.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007238, allocations: 1.406 kB / 469.1 MB, free: 11.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001416/0.00738, allocations: 231 kB / 469.3 MB, free: 11.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.007414, allocations: 63.39 kB / 469.4 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007418, allocations: 0 / 469.4 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.007428, allocations: 4.844 kB / 469.4 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.007499, allocations: 27.98 kB / 469.4 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.007504, allocations: 13.03 kB / 469.4 MB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.007566, allocations: 25.09 kB / 469.4 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.007574, allocations: 10 kB / 469.5 MB, free: 11.05 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 7.337e-05/0.007647, allocations: 155.1 kB / 469.6 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.007664, allocations: 20.89 kB / 469.6 MB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.801e-05/0.007682, allocations: 13.45 kB / 469.6 MB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.007684, allocations: 1.688 kB / 469.6 MB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.007686, allocations: 3.938 kB / 469.6 MB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.007688, allocations: 0 / 469.6 MB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.018e-05/0.007758, allocations: 100.7 kB / 469.7 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.007759, allocations: 0 / 469.7 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.007792, allocations: 10.5 kB / 469.8 MB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.007793, allocations: 2.219 kB / 469.8 MB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.007799, allocations: 0 / 469.8 MB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.0078, allocations: 0 / 469.8 MB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007801, allocations: 0 / 469.8 MB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.007951, allocations: 232.8 kB / 470 MB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.007964, allocations: 11.95 kB / 470 MB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.00798, allocations: 5.062 kB / 470 MB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.008013, allocations: 7.984 kB / 470 MB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.008046, allocations: 8.656 kB / 470 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.008052, allocations: 3.984 kB / 470 MB, free: 10.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.838e-05/0.00808, allocations: 39.36 kB / 470.1 MB, free: 10.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00808, allocations: 0 / 470.1 MB, free: 10.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001303/0.008211, allocations: 39.89 kB / 470.1 MB, free: 10.35 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 6.312e-05/0.008274, allocations: 82.97 kB / 470.2 MB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.008433, allocations: 273.7 kB / 470.4 MB, free: 9.949 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.008437, allocations: 5.031 kB / 470.4 MB, free: 9.945 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.768e-05/0.008494, allocations: 114 kB / 470.6 MB, free: 9.812 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.744e-05/0.008592, allocations: 17.2 kB / 470.6 MB, free: 9.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.009051, allocations: 320.6 kB / 470.9 MB, free: 9.457 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.238e-05/0.009083, allocations: 68.47 kB / 471 MB, free: 9.371 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.785e-05/0.009121, allocations: 15.08 kB / 471 MB, free: 9.359 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.009192, allocations: 71.36 kB / 471 MB, free: 9.289 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009192, allocations: 2.625 kB / 471 MB, free: 9.289 MB / 426.7 MB Notification: Performance of Templates: time 0.002917/0.01211, allocations: 1.541 MB / 472.6 MB, free: 7.891 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.4189145588316023]