Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001912/0.001912, allocations: 81.48 kB / 19.44 MB, free: 340 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.002004/0.002004, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.003276/0.003276, allocations: 246.2 kB / 259.8 MB, free: 12.83 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 1.187/1.187, allocations: 138.4 MB / 454.7 MB, free: 1.496 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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5543 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.263e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003997/0.00403, allocations: 1.426 MB / 0.5557 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00567/0.009699, allocations: 2.627 MB / 0.5583 GB, free: 12.81 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.00974, allocations: 0 / 0.5583 GB, free: 12.81 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.01199, allocations: 0.5592 MB / 0.5588 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.106e-05/0.01207, allocations: 19.84 kB / 0.5588 GB, free: 12.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.989e-06/0.01208, allocations: 4 kB / 0.5588 GB, free: 12.22 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.01244, allocations: 170.8 kB / 0.559 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.703e-05/0.0125, allocations: 8.594 kB / 0.559 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.01267, allocations: 83.78 kB / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.01287, allocations: 63.77 kB / 0.5592 GB, free: 11.9 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.0129, allocations: 4 kB / 0.5592 GB, free: 11.9 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.01428, allocations: 403.5 kB / 0.5595 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.01435, allocations: 35.78 kB / 0.5596 GB, free: 11.47 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.01449, allocations: 63.84 kB / 0.5596 GB, free: 11.41 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.01553, allocations: 454 kB / 0.5601 GB, free: 10.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01554, allocations: 0 / 0.5601 GB, free: 10.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01554, allocations: 4 kB / 0.5601 GB, free: 10.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.01554, allocations: 4 kB / 0.5601 GB, free: 10.95 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.001246/0.01679, allocations: 0.5886 MB / 0.5607 GB, free: 10.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.01685, allocations: 12.75 kB / 0.5607 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.01714, allocations: 147.9 kB / 0.5608 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.01752, allocations: 290.5 kB / 0.5611 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.01769, allocations: 238.8 kB / 0.5613 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.01787, allocations: 242.8 kB / 0.5615 GB, free: 9.383 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.01801, allocations: 153.4 kB / 0.5617 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-05/0.01809, allocations: 119.4 kB / 0.5618 GB, free: 9.109 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.01825, allocations: 242.8 kB / 0.562 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.0184, allocations: 238.8 kB / 0.5623 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.01856, allocations: 250.2 kB / 0.5625 GB, free: 8.391 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008078/0.01937, allocations: 0.7005 MB / 0.5632 GB, free: 7.656 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.0196, allocations: 265.4 kB / 0.5634 GB, free: 7.383 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.0197, allocations: 126.9 kB / 0.5636 GB, free: 7.254 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.748e-05/0.01978, allocations: 119.2 kB / 0.5637 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.0199, allocations: 156.6 kB / 0.5638 GB, free: 6.973 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.0199, allocations: 0 / 0.5638 GB, free: 6.973 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002764/0.02018, allocations: 57.5 kB / 0.5639 GB, free: 6.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.02031, allocations: 174.6 kB / 0.564 GB, free: 6.727 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000939/0.02125, allocations: 0.5257 MB / 0.5646 GB, free: 6.188 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.02128, allocations: 29.7 kB / 0.5646 GB, free: 6.152 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.02151, allocations: 199.3 kB / 0.5648 GB, free: 5.953 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.02152, allocations: 0 / 0.5648 GB, free: 5.953 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.02176, allocations: 123.3 kB / 0.5649 GB, free: 5.824 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004339/0.02219, allocations: 0.5274 MB / 0.5654 GB, free: 5.285 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.0223, allocations: 36.66 kB / 0.5654 GB, free: 5.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.02256, allocations: 141.7 kB / 0.5656 GB, free: 5.082 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.02301, allocations: 225.5 kB / 0.5658 GB, free: 4.832 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.02301, allocations: 0 / 0.5658 GB, free: 4.832 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007999/0.02381, allocations: 269.1 kB / 0.566 GB, free: 4.562 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.02383, allocations: 4 kB / 0.5661 GB, free: 4.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.02384, allocations: 4 kB / 0.5661 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.02386, allocations: 0 / 0.5661 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.235e-06/0.02387, allocations: 4 kB / 0.5661 GB, free: 4.551 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.02388, allocations: 4.062 kB / 0.5661 GB, free: 4.547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.02414, allocations: 51.45 kB / 0.5661 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.02416, allocations: 4 kB / 0.5661 GB, free: 4.492 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 0.000372/0.02453, allocations: 323.9 kB / 0.5664 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.02471, allocations: 172.7 kB / 0.5666 GB, free: 3.988 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.02485, allocations: 162.8 kB / 0.5667 GB, free: 3.816 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001888/0.02504, allocations: 268 kB / 0.567 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001935/0.02523, allocations: 268.1 kB / 0.5673 GB, free: 3.277 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002281/0.02546, allocations: 272 kB / 0.5675 GB, free: 3.004 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000595/0.02606, allocations: 0.5858 MB / 0.5681 GB, free: 2.375 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.279e-05/0.02614, allocations: 144.9 kB / 0.5682 GB, free: 2.227 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.954e-05/0.02622, allocations: 152.8 kB / 0.5684 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.02636, allocations: 264.1 kB / 0.5686 GB, free: 1.805 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.02651, allocations: 268 kB / 0.5689 GB, free: 1.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001398/0.02665, allocations: 272.1 kB / 0.5691 GB, free: 1.262 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001389/0.02679, allocations: 276 kB / 0.5694 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.02708, allocations: 463.8 kB / 0.5698 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.02722, allocations: 176.7 kB / 0.57 GB, free: 332 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.02739, allocations: 264.1 kB / 0.5703 GB, free: 60 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.02759, allocations: 156.8 kB / 0.5704 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.02772, allocations: 264.1 kB / 0.5707 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/0.0278, allocations: 148.9 kB / 0.5708 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003659/0.02816, allocations: 319 kB / 0.5711 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02816, allocations: 0 / 0.5711 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004414/0.0286, allocations: 87.81 kB / 0.5712 GB, free: 15.09 MB / 0.4948 GB 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.0004931/0.0291, allocations: 369.4 kB / 0.5715 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.02934, allocations: 104.9 kB / 0.5716 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.02935, allocations: 4 kB / 0.5717 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.02935, allocations: 0 / 0.5717 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.02997, allocations: 0.7065 MB / 0.5723 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007829/0.03076, allocations: 0.5266 MB / 0.5729 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.03094, allocations: 156.1 kB / 0.573 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.653e-05/0.03095, allocations: 4 kB / 0.573 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.03098, allocations: 8.5 kB / 0.573 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.03098, allocations: 0 / 0.573 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.008145/0.03913, allocations: 3.068 MB / 0.576 GB, free: 10.11 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.86659597302787]