Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001455/0.001455, allocations: 93.06 kB / 19.65 MB, free: 272 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.00182/0.00182, allocations: 165 kB / 23.02 MB, free: 1.547 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.9494/0.9494, 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.002444/0.002444, allocations: 237.4 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.7226/0.7226, allocations: 138.4 MB / 455.2 MB, free: 1.539 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.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.592e-05, allocations: 4.844 kB / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00167/0.001686, allocations: 1.446 MB / 0.5565 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.003238, allocations: 1.939 MB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.003259, allocations: 0 / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007099/0.003969, allocations: 357.8 kB / 0.5587 GB, free: 12.79 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.787e-05/0.004007, allocations: 19.91 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.685e-06/0.00401, allocations: 0 / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.004174, allocations: 139 kB / 0.5589 GB, free: 12.63 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.004208, allocations: 9.672 kB / 0.5589 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.202e-05/0.00427, allocations: 55.88 kB / 0.559 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/0.004352, allocations: 55.83 kB / 0.559 GB, free: 12.51 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.004366, allocations: 0 / 0.559 GB, free: 12.51 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.00462, allocations: 179.8 kB / 0.5592 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.004657, allocations: 35.84 kB / 0.5592 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.004708, allocations: 47.86 kB / 0.5593 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.005004, allocations: 286.9 kB / 0.5595 GB, free: 11.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005006, allocations: 0 / 0.5595 GB, free: 11.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005007, allocations: 0 / 0.5595 GB, free: 11.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.00501, allocations: 0 / 0.5595 GB, free: 11.97 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004325/0.005443, allocations: 0.519 MB / 0.56 GB, free: 11.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.005472, allocations: 12.75 kB / 0.5601 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.455e-05/0.005567, allocations: 144 kB / 0.5602 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.005697, allocations: 275.2 kB / 0.5605 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.005748, allocations: 242.8 kB / 0.5607 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.005805, allocations: 242.8 kB / 0.5609 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.859e-05/0.005853, allocations: 149.4 kB / 0.5611 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.005877, allocations: 123.3 kB / 0.5612 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.005923, allocations: 242.5 kB / 0.5614 GB, free: 9.984 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/0.00597, allocations: 242.4 kB / 0.5616 GB, free: 9.746 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.006017, allocations: 238.4 kB / 0.5619 GB, free: 9.512 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.00626, allocations: 0.6576 MB / 0.5625 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.354e-05/0.006334, allocations: 269.4 kB / 0.5628 GB, free: 8.543 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.006365, allocations: 130.9 kB / 0.5629 GB, free: 8.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.006389, allocations: 123.2 kB / 0.563 GB, free: 8.289 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.006426, allocations: 152.6 kB / 0.5632 GB, free: 8.129 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.006426, allocations: 0 / 0.5632 GB, free: 8.129 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 9.713e-05/0.006524, allocations: 53.58 kB / 0.5632 GB, free: 8.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.006567, allocations: 174.5 kB / 0.5634 GB, free: 7.887 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.006789, allocations: 372.1 kB / 0.5637 GB, free: 7.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.006797, allocations: 25.7 kB / 0.5637 GB, free: 7.469 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.006862, allocations: 171.3 kB / 0.5639 GB, free: 7.297 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.006864, allocations: 0 / 0.5639 GB, free: 7.297 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.006921, allocations: 83.34 kB / 0.564 GB, free: 7.207 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.007036, allocations: 0.5157 MB / 0.5645 GB, free: 6.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.254e-05/0.007069, allocations: 24 kB / 0.5645 GB, free: 6.656 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.007138, allocations: 113.8 kB / 0.5646 GB, free: 6.516 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.007255, allocations: 169.7 kB / 0.5648 GB, free: 6.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007257, allocations: 0 / 0.5648 GB, free: 6.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002505/0.007508, allocations: 185.4 kB / 0.565 GB, free: 6.133 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.007518, allocations: 6.812 kB / 0.565 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.007524, allocations: 4 kB / 0.565 GB, free: 6.125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.007536, allocations: 0 / 0.565 GB, free: 6.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-06/0.00754, allocations: 7.938 kB / 0.565 GB, free: 6.117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.007547, allocations: 12.14 kB / 0.565 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.007608, allocations: 27.73 kB / 0.565 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.007615, allocations: 4 kB / 0.565 GB, free: 6.074 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.46e-05/0.007709, allocations: 283.7 kB / 0.5653 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.007757, allocations: 160.8 kB / 0.5654 GB, free: 5.621 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.007807, allocations: 161.6 kB / 0.5656 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.624e-05/0.007864, allocations: 268.1 kB / 0.5659 GB, free: 5.188 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.879e-05/0.007922, allocations: 276 kB / 0.5661 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.552e-05/0.007978, allocations: 268.1 kB / 0.5664 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.008171, allocations: 0.5584 MB / 0.5669 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.102e-05/0.008202, allocations: 152.8 kB / 0.5671 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.008233, allocations: 144.9 kB / 0.5672 GB, free: 3.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.577e-05/0.008288, allocations: 272 kB / 0.5675 GB, free: 3.461 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/0.008345, allocations: 264.1 kB / 0.5677 GB, free: 3.195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.447e-05/0.0084, allocations: 268.1 kB / 0.568 GB, free: 2.926 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-05/0.008457, allocations: 276.2 kB / 0.5682 GB, free: 2.648 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.008572, allocations: 463.8 kB / 0.5687 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.008618, allocations: 164.8 kB / 0.5688 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.008689, allocations: 272 kB / 0.5691 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.008761, allocations: 148.9 kB / 0.5692 GB, free: 1.574 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.008815, allocations: 272 kB / 0.5695 GB, free: 1.301 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.008845, allocations: 148.8 kB / 0.5696 GB, free: 1.148 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.008951, allocations: 217.1 kB / 0.5698 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008951, allocations: 4 kB / 0.5698 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.009167, allocations: 63.92 kB / 0.5699 GB, free: 0.875 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0002136/0.00938, allocations: 314.3 kB / 0.5702 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.654e-05/0.009477, allocations: 75.59 kB / 0.5703 GB, free: 492 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009478, allocations: 0 / 0.5703 GB, free: 492 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.009479, allocations: 0 / 0.5703 GB, free: 492 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.009775, allocations: 0.7105 MB / 0.571 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.01024, allocations: 422.8 kB / 0.5714 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.323e-05/0.01029, allocations: 83.3 kB / 0.5715 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.226e-06/0.01029, allocations: 4 kB / 0.5715 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.01031, allocations: 8.5 kB / 0.5715 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.01031, allocations: 0 / 0.5715 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.003608/0.01392, allocations: 2.311 MB / 0.5737 GB, free: 12.92 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.825366872828454]