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.001124/0.001124, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001251/0.001251, allocations: 169 kB / 23.49 MB, free: 1.055 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.956/0.956, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.002004/0.002004, allocations: 233 kB / 260.5 MB, free: 12.88 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.727/0.727, allocations: 138.4 MB / 455.4 MB, free: 1.531 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.923e-06/1.923e-06, allocations: 0 / 0.555 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.037e-05, allocations: 2.312 kB / 0.555 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002698/0.002719, allocations: 2.378 MB / 0.5573 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003774, allocations: 0.8374 MB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.003859, allocations: 4 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.004342, allocations: 155.3 kB / 0.5583 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.004484, allocations: 67.55 kB / 0.5583 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.00462, allocations: 79.66 kB / 0.5584 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.004814, allocations: 159.4 kB / 0.5586 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.005016, allocations: 77.17 kB / 0.5586 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.005181, allocations: 103.7 kB / 0.5587 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.005316, allocations: 55.81 kB / 0.5588 GB, free: 13 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.005337, allocations: 12 kB / 0.5588 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.005423, allocations: 59.81 kB / 0.5589 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.005476, allocations: 31.91 kB / 0.5589 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.005535, allocations: 47.84 kB / 0.5589 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.005731, allocations: 131.6 kB / 0.5591 GB, free: 12.72 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.005733, allocations: 4 kB / 0.5591 GB, free: 12.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005734, allocations: 3.938 kB / 0.5591 GB, free: 12.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.005738, allocations: 0 / 0.5591 GB, free: 12.71 MB / 490.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.0005378/0.006276, allocations: 0.5112 MB / 0.5596 GB, free: 12.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.006313, allocations: 16.69 kB / 0.5596 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.006549, allocations: 52.75 kB / 0.5596 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.006737, allocations: 161 kB / 0.5598 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.183e-05/0.006789, allocations: 56.16 kB / 0.5598 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.006813, allocations: 12.38 kB / 0.5599 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.007016, allocations: 175 kB / 0.56 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.007025, allocations: 0 / 0.56 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.007038, allocations: 4 kB / 0.56 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.007057, allocations: 4 kB / 0.56 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.905e-05/0.007146, allocations: 72.05 kB / 0.5601 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.007691, allocations: 0.6878 MB / 0.5608 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.007849, allocations: 72.75 kB / 0.5608 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.007889, allocations: 49.42 kB / 0.5609 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.007902, allocations: 8 kB / 0.5609 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.008045, allocations: 170.1 kB / 0.5611 GB, free: 10.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.008046, allocations: 0 / 0.5611 GB, free: 10.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002373/0.008283, allocations: 190.9 kB / 0.5612 GB, free: 10.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.008334, allocations: 140.4 kB / 0.5614 GB, free: 10.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.008462, allocations: 233.8 kB / 0.5616 GB, free: 9.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.008476, allocations: 29.7 kB / 0.5616 GB, free: 9.785 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.008619, allocations: 186.4 kB / 0.5618 GB, free: 9.598 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.008639, allocations: 23.84 kB / 0.5618 GB, free: 9.574 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.008684, allocations: 47.36 kB / 0.5619 GB, free: 9.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.008788, allocations: 0.4962 MB / 0.5624 GB, free: 9.012 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.008841, allocations: 75.33 kB / 0.5624 GB, free: 8.926 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.6e-05/0.008927, allocations: 178.7 kB / 0.5626 GB, free: 8.695 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.009063, allocations: 225.5 kB / 0.5628 GB, free: 8.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.009066, allocations: 0 / 0.5628 GB, free: 8.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002048/0.009271, allocations: 276.1 kB / 0.5631 GB, free: 8.109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.009304, allocations: 59.41 kB / 0.5631 GB, free: 8.039 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.009309, allocations: 4 kB / 0.5631 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.009323, allocations: 4.312 kB / 0.5631 GB, free: 8.031 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.009404, allocations: 39.92 kB / 0.5632 GB, free: 7.992 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.009412, allocations: 11.86 kB / 0.5632 GB, free: 7.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.009477, allocations: 19.89 kB / 0.5632 GB, free: 7.961 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.009488, allocations: 8 kB / 0.5632 GB, free: 7.953 MB / 490.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.726e-05/0.009575, allocations: 206.1 kB / 0.5634 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.009595, allocations: 19.91 kB / 0.5634 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.009618, allocations: 13.47 kB / 0.5634 GB, free: 7.703 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.00962, allocations: 0 / 0.5634 GB, free: 7.703 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.009624, allocations: 7.938 kB / 0.5634 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.009626, allocations: 0 / 0.5634 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.845e-05/0.009725, allocations: 160.6 kB / 0.5636 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.009726, allocations: 0 / 0.5636 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.009769, allocations: 8 kB / 0.5636 GB, free: 7.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.009772, allocations: 4 kB / 0.5636 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.009782, allocations: 0 / 0.5636 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.009783, allocations: 0 / 0.5636 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009784, allocations: 0 / 0.5636 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.01002, allocations: 261.3 kB / 0.5639 GB, free: 7.195 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.01003, allocations: 7.953 kB / 0.5639 GB, free: 7.188 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.01005, allocations: 8.031 kB / 0.5639 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.773e-05/0.01009, allocations: 7.938 kB / 0.5639 GB, free: 7.172 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.01014, allocations: 19.91 kB / 0.5639 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.01015, allocations: 0 / 0.5639 GB, free: 7.152 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.01021, allocations: 168.2 kB / 0.5641 GB, free: 6.988 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01021, allocations: 0 / 0.5641 GB, free: 6.988 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.01037, allocations: 35.95 kB / 0.5641 GB, free: 6.953 MB / 490.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 7.323e-05/0.01045, allocations: 95.25 kB / 0.5642 GB, free: 6.852 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.01065, allocations: 283.9 kB / 0.5645 GB, free: 6.527 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01065, allocations: 0 / 0.5645 GB, free: 6.527 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.63e-05/0.01072, allocations: 116.9 kB / 0.5646 GB, free: 6.391 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.01088, allocations: 23.92 kB / 0.5646 GB, free: 6.367 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006024/0.01149, allocations: 316.8 kB / 0.5649 GB, free: 6.023 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.01152, allocations: 75.33 kB / 0.565 GB, free: 5.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.545e-05/0.01157, allocations: 16.81 kB / 0.565 GB, free: 5.914 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.0116, allocations: 12.5 kB / 0.565 GB, free: 5.902 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0116, allocations: 4 kB / 0.565 GB, free: 5.898 MB / 490.7 MB Notification: Performance of Templates: time 0.003126/0.01473, allocations: 1.499 MB / 0.5665 GB, free: 4.434 MB / 490.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.614393328083679]