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.0008344/0.0008344, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001059/0.001059, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9378/0.9378, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.001677/0.001677, allocations: 248.3 kB / 261.3 MB, free: 12.65 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.7289/0.7289, allocations: 138.4 MB / 456.3 MB, free: 29.95 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 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.493e-06/1.493e-06, allocations: 0 / 0.5563 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.494e-05, allocations: 6.312 kB / 0.5563 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002345/0.00236, allocations: 2.106 MB / 0.5584 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.003251, allocations: 0.6932 MB / 0.559 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.425e-05/0.003345, allocations: 0 / 0.559 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.003682, allocations: 99.5 kB / 0.5591 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.003834, allocations: 71.53 kB / 0.5592 GB, free: 12.9 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.003984, allocations: 71.78 kB / 0.5593 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.004151, allocations: 163.4 kB / 0.5594 GB, free: 12.67 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.004305, allocations: 92.83 kB / 0.5595 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.004444, allocations: 99.78 kB / 0.5596 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.004569, allocations: 51.86 kB / 0.5597 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.004589, allocations: 12 kB / 0.5597 GB, free: 12.42 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.004671, allocations: 63.81 kB / 0.5597 GB, free: 12.36 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.004714, allocations: 35.84 kB / 0.5598 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.004766, allocations: 43.91 kB / 0.5598 GB, free: 12.28 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.004928, allocations: 139.5 kB / 0.5599 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.00493, allocations: 4 kB / 0.5599 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00493, allocations: 0 / 0.5599 GB, free: 12.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.004934, allocations: 0 / 0.5599 GB, free: 12.14 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.0004005/0.005334, allocations: 0.5151 MB / 0.5604 GB, free: 11.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.005364, allocations: 13.94 kB / 0.5605 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.005545, allocations: 44.83 kB / 0.5605 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.005691, allocations: 162.2 kB / 0.5607 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.005738, allocations: 68.14 kB / 0.5607 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.005757, allocations: 16.38 kB / 0.5607 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.005907, allocations: 159 kB / 0.5609 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.005915, allocations: 0 / 0.5609 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.005926, allocations: 8 kB / 0.5609 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.005939, allocations: 4 kB / 0.5609 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.574e-05/0.005995, allocations: 57.67 kB / 0.561 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.006463, allocations: 0.6838 MB / 0.5616 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.006582, allocations: 76.69 kB / 0.5617 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.00661, allocations: 45.45 kB / 0.5617 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.006619, allocations: 4 kB / 0.5617 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.006735, allocations: 166.1 kB / 0.5619 GB, free: 9.902 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.006736, allocations: 0 / 0.5619 GB, free: 9.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001828/0.006919, allocations: 194.8 kB / 0.5621 GB, free: 9.688 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.006965, allocations: 140.4 kB / 0.5622 GB, free: 9.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.007071, allocations: 241.7 kB / 0.5624 GB, free: 9.266 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.007085, allocations: 37.69 kB / 0.5625 GB, free: 9.223 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.00715, allocations: 178.5 kB / 0.5627 GB, free: 9.043 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.007167, allocations: 27.81 kB / 0.5627 GB, free: 9.016 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.00721, allocations: 43.31 kB / 0.5627 GB, free: 8.965 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004459/0.007656, allocations: 0.5001 MB / 0.5632 GB, free: 8.453 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.007696, allocations: 71.38 kB / 0.5633 GB, free: 8.371 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.007773, allocations: 168.8 kB / 0.5634 GB, free: 8.148 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.007883, allocations: 229.5 kB / 0.5637 GB, free: 7.859 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.007886, allocations: 0 / 0.5637 GB, free: 7.859 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001747/0.00806, allocations: 260.1 kB / 0.5639 GB, free: 7.574 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.00809, allocations: 67.39 kB / 0.564 GB, free: 7.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.008095, allocations: 4 kB / 0.564 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.956e-06/0.008104, allocations: 8.312 kB / 0.564 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.378e-05/0.008178, allocations: 35.86 kB / 0.564 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.008181, allocations: 0 / 0.564 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.008246, allocations: 23.89 kB / 0.564 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.008255, allocations: 8 kB / 0.564 GB, free: 7.418 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.176e-05/0.008337, allocations: 200.8 kB / 0.5642 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.008361, allocations: 23.94 kB / 0.5643 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.008381, allocations: 13.45 kB / 0.5643 GB, free: 7.172 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.008383, allocations: 4 kB / 0.5643 GB, free: 7.168 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.008385, allocations: 7.938 kB / 0.5643 GB, free: 7.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.008388, allocations: 0 / 0.5643 GB, free: 7.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.792e-05/0.008466, allocations: 129.1 kB / 0.5644 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.008466, allocations: 0 / 0.5644 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.008502, allocations: 8 kB / 0.5644 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.008503, allocations: 0 / 0.5644 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.008513, allocations: 11.98 kB / 0.5644 GB, free: 6.988 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008514, allocations: 3.938 kB / 0.5644 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.008515, allocations: 0 / 0.5644 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.008706, allocations: 245.4 kB / 0.5647 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.008722, allocations: 19.84 kB / 0.5647 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.008737, allocations: 8.031 kB / 0.5647 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.64e-05/0.008773, allocations: 7.984 kB / 0.5647 GB, free: 6.668 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.008809, allocations: 11.98 kB / 0.5647 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.008813, allocations: 0 / 0.5647 GB, free: 6.656 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.438e-05/0.008868, allocations: 160.1 kB / 0.5649 GB, free: 6.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008868, allocations: 4 kB / 0.5649 GB, free: 6.496 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000154/0.009022, allocations: 27.95 kB / 0.5649 GB, free: 6.469 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 6.208e-05/0.009084, allocations: 105.9 kB / 0.565 GB, free: 6.359 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.009247, allocations: 271.5 kB / 0.5653 GB, free: 6.047 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.82e-07/0.009248, allocations: 0 / 0.5653 GB, free: 6.047 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.939e-05/0.009307, allocations: 124.7 kB / 0.5654 GB, free: 5.902 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.009444, allocations: 18.39 kB / 0.5654 GB, free: 5.887 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.009893, allocations: 305 kB / 0.5657 GB, free: 5.555 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.31e-05/0.009926, allocations: 75.33 kB / 0.5658 GB, free: 5.461 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.16e-05/0.009958, allocations: 8.641 kB / 0.5658 GB, free: 5.453 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.01003, allocations: 94.2 kB / 0.5659 GB, free: 5.359 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01004, allocations: 0 / 0.5659 GB, free: 5.359 MB / 490.7 MB Notification: Performance of Templates: time 0.002924/0.01296, allocations: 1.649 MB / 0.5675 GB, free: 3.762 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.657485695555806]