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.0009875/0.0009875, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001193/0.001193, allocations: 173 kB / 23.03 MB, free: 1.543 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.067/1.067, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001673/0.001673, allocations: 245.9 kB / 260.2 MB, free: 12.82 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.7103/0.7103, allocations: 138.4 MB / 455.2 MB, free: 1.555 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.844e-06/1.844e-06, allocations: 0 / 0.5551 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.961e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002782/0.002811, allocations: 2.109 MB / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009914/0.003803, allocations: 0.7011 MB / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.014e-05/0.003893, allocations: 0 / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006168/0.00451, allocations: 103.5 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.00468, allocations: 67.55 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.004847, allocations: 67.72 kB / 0.558 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.005064, allocations: 163.4 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.005277, allocations: 89.05 kB / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.005461, allocations: 99.77 kB / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.005605, allocations: 51.86 kB / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.005627, allocations: 12 kB / 0.5584 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.005728, allocations: 55.84 kB / 0.5585 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.005783, allocations: 43.83 kB / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.005845, allocations: 47.89 kB / 0.5586 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.006072, allocations: 131.5 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006074, allocations: 0 / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.006076, allocations: 0 / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.00608, allocations: 4 kB / 0.5587 GB, free: 12.84 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.0005858/0.006666, allocations: 0.5112 MB / 0.5592 GB, free: 12.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.006709, allocations: 8.75 kB / 0.5592 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.006957, allocations: 52.81 kB / 0.5593 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.007158, allocations: 164.9 kB / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.007215, allocations: 68.16 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.00724, allocations: 12.38 kB / 0.5595 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.00746, allocations: 169.6 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.007468, allocations: 4 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.007482, allocations: 4 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.007505, allocations: 8 kB / 0.5597 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.473e-05/0.00759, allocations: 65.61 kB / 0.5597 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.008189, allocations: 0.6878 MB / 0.5604 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.008359, allocations: 76.75 kB / 0.5605 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.008402, allocations: 49.44 kB / 0.5605 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.008413, allocations: 0 / 0.5605 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.008561, allocations: 170.1 kB / 0.5607 GB, free: 10.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.008562, allocations: 0 / 0.5607 GB, free: 10.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002426/0.008804, allocations: 198.8 kB / 0.5609 GB, free: 10.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.008859, allocations: 140.5 kB / 0.561 GB, free: 10.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.008988, allocations: 233.8 kB / 0.5612 GB, free: 9.941 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.009001, allocations: 29.7 kB / 0.5613 GB, free: 9.906 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.009075, allocations: 190.4 kB / 0.5615 GB, free: 9.715 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.009097, allocations: 27.78 kB / 0.5615 GB, free: 9.688 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.009143, allocations: 39.36 kB / 0.5615 GB, free: 9.641 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.009253, allocations: 0.4962 MB / 0.562 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.009308, allocations: 75.39 kB / 0.5621 GB, free: 9.047 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.876e-05/0.009396, allocations: 182.8 kB / 0.5622 GB, free: 8.812 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.009532, allocations: 229.6 kB / 0.5625 GB, free: 8.523 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.009535, allocations: 4 kB / 0.5625 GB, free: 8.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000221/0.009756, allocations: 268.1 kB / 0.5627 GB, free: 8.227 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.009793, allocations: 59.41 kB / 0.5628 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.009799, allocations: 4 kB / 0.5628 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.009814, allocations: 7.938 kB / 0.5628 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.009902, allocations: 31.92 kB / 0.5628 GB, free: 8.113 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.00991, allocations: 12.3 kB / 0.5628 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.009977, allocations: 19.89 kB / 0.5629 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.009989, allocations: 11.94 kB / 0.5629 GB, free: 8.07 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 9.368e-05/0.01008, allocations: 196.8 kB / 0.5631 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.0101, allocations: 19.91 kB / 0.5631 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.01013, allocations: 13.47 kB / 0.5631 GB, free: 7.832 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01013, allocations: 0 / 0.5631 GB, free: 7.832 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01013, allocations: 3.938 kB / 0.5631 GB, free: 7.828 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01014, allocations: 3.984 kB / 0.5631 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.01025, allocations: 164.5 kB / 0.5632 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01025, allocations: 3.938 kB / 0.5633 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.0103, allocations: 8 kB / 0.5633 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.0103, allocations: 0 / 0.5633 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.01031, allocations: 4 kB / 0.5633 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.01032, allocations: 4 kB / 0.5633 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01032, allocations: 0 / 0.5633 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.01056, allocations: 257.3 kB / 0.5635 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.01058, allocations: 7.953 kB / 0.5635 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.0106, allocations: 8 kB / 0.5635 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.01064, allocations: 12.02 kB / 0.5635 GB, free: 7.289 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.0107, allocations: 11.88 kB / 0.5636 GB, free: 7.277 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.01071, allocations: 4 kB / 0.5636 GB, free: 7.273 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.199e-05/0.01078, allocations: 172.2 kB / 0.5637 GB, free: 7.105 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01078, allocations: 0 / 0.5637 GB, free: 7.105 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.01094, allocations: 31.89 kB / 0.5637 GB, free: 7.074 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 8.549e-05/0.01103, allocations: 107.2 kB / 0.5639 GB, free: 6.961 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.01126, allocations: 280 kB / 0.5641 GB, free: 6.641 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01126, allocations: 4.062 kB / 0.5641 GB, free: 6.637 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.879e-05/0.01133, allocations: 116.8 kB / 0.5642 GB, free: 6.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.01151, allocations: 19.98 kB / 0.5643 GB, free: 6.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/0.01231, allocations: 312.4 kB / 0.5646 GB, free: 6.141 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.01235, allocations: 75.27 kB / 0.5646 GB, free: 6.047 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.651e-05/0.0124, allocations: 16.64 kB / 0.5646 GB, free: 6.031 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.01243, allocations: 16.5 kB / 0.5647 GB, free: 6.016 MB / 490.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01244, allocations: 0 / 0.5647 GB, free: 6.016 MB / 490.7 MB Notification: Performance of Templates: time 0.003628/0.01606, allocations: 1.558 MB / 0.5662 GB, free: 4.492 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.7349567050114274]