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.00157/0.00157, 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.001833/0.001833, allocations: 173 kB / 23.02 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 0.9168/0.9168, allocations: 177.1 MB / 203.4 MB, free: 5.574 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.002472/0.002472, allocations: 242.3 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.6914/0.6914, allocations: 138.4 MB / 455.2 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.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 2.575e-06/2.575e-06, allocations: 3.984 kB / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.832e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001922/0.001951, allocations: 1.465 MB / 0.5565 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.004257, allocations: 2.647 MB / 0.5591 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.004289, allocations: 0 / 0.5591 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.005693, allocations: 0.5668 MB / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.005747, allocations: 19.91 kB / 0.5597 GB, free: 11.8 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.33e-06/0.005752, allocations: 8 kB / 0.5597 GB, free: 11.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.005994, allocations: 158.8 kB / 0.5598 GB, free: 11.64 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.006047, allocations: 20.58 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.006132, allocations: 79.78 kB / 0.5599 GB, free: 11.55 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.006233, allocations: 63.83 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.006248, allocations: 4 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006463/0.006894, allocations: 411.3 kB / 0.5604 GB, free: 11.08 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.006948, allocations: 39.78 kB / 0.5604 GB, free: 11.04 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.625e-05/0.007035, allocations: 55.86 kB / 0.5605 GB, free: 10.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.007524, allocations: 426.2 kB / 0.5609 GB, free: 10.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.007529, allocations: 4 kB / 0.5609 GB, free: 10.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.007531, allocations: 0 / 0.5609 GB, free: 10.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.007538, allocations: 0 / 0.5609 GB, free: 10.56 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.0006444/0.008182, allocations: 0.6004 MB / 0.5615 GB, free: 9.922 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.008222, allocations: 8.75 kB / 0.5615 GB, free: 9.914 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.008333, allocations: 147.9 kB / 0.5616 GB, free: 9.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.008499, allocations: 286.6 kB / 0.5619 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.008552, allocations: 238.8 kB / 0.5621 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.008608, allocations: 246.8 kB / 0.5624 GB, free: 8.984 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.613e-05/0.008664, allocations: 149.5 kB / 0.5625 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.008691, allocations: 119.4 kB / 0.5626 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.008738, allocations: 242.8 kB / 0.5629 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-05/0.008789, allocations: 238.8 kB / 0.5631 GB, free: 8.242 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.956e-05/0.008838, allocations: 246.2 kB / 0.5633 GB, free: 8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.009142, allocations: 0.6928 MB / 0.564 GB, free: 7.273 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.733e-05/0.009229, allocations: 265.4 kB / 0.5642 GB, free: 7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.009261, allocations: 130.9 kB / 0.5644 GB, free: 6.867 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.009287, allocations: 119.2 kB / 0.5645 GB, free: 6.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.009329, allocations: 156.5 kB / 0.5646 GB, free: 6.586 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.009329, allocations: 0 / 0.5646 GB, free: 6.586 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001132/0.009443, allocations: 65.5 kB / 0.5647 GB, free: 6.516 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.009498, allocations: 174.6 kB / 0.5649 GB, free: 6.332 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.009793, allocations: 482.4 kB / 0.5653 GB, free: 5.848 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.009802, allocations: 25.7 kB / 0.5653 GB, free: 5.816 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.009881, allocations: 199.3 kB / 0.5655 GB, free: 5.617 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.009883, allocations: 0 / 0.5655 GB, free: 5.617 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.009964, allocations: 123.3 kB / 0.5657 GB, free: 5.488 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.01009, allocations: 0.5274 MB / 0.5662 GB, free: 4.949 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.01015, allocations: 44.59 kB / 0.5662 GB, free: 4.902 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.422e-05/0.01024, allocations: 145.7 kB / 0.5664 GB, free: 4.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.01041, allocations: 229.5 kB / 0.5666 GB, free: 4.477 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01041, allocations: 0 / 0.5666 GB, free: 4.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003342/0.01074, allocations: 273.1 kB / 0.5668 GB, free: 4.203 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01076, allocations: 4 kB / 0.5668 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.01076, allocations: 4 kB / 0.5668 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.01078, allocations: 0 / 0.5668 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-06/0.01078, allocations: 4 kB / 0.5668 GB, free: 4.191 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01079, allocations: 0 / 0.5668 GB, free: 4.191 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.01089, allocations: 59.39 kB / 0.5669 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.0109, allocations: 11.92 kB / 0.5669 GB, free: 4.121 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.0001223/0.01102, allocations: 294.8 kB / 0.5672 GB, free: 3.828 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.01108, allocations: 172.7 kB / 0.5674 GB, free: 3.652 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.01112, allocations: 158.8 kB / 0.5675 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.374e-05/0.01118, allocations: 268.1 kB / 0.5678 GB, free: 3.215 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.256e-05/0.01123, allocations: 264.1 kB / 0.568 GB, free: 2.949 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.396e-05/0.01128, allocations: 280 kB / 0.5683 GB, free: 2.668 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.01151, allocations: 0.578 MB / 0.5688 GB, free: 2.047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.082e-05/0.01154, allocations: 152.8 kB / 0.569 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.01157, allocations: 144.9 kB / 0.5691 GB, free: 1.742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.418e-05/0.01163, allocations: 272 kB / 0.5694 GB, free: 1.469 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.01168, allocations: 272.1 kB / 0.5697 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.124e-05/0.01173, allocations: 264.1 kB / 0.5699 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-05/0.01179, allocations: 276 kB / 0.5702 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.01191, allocations: 459.8 kB / 0.5706 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.01198, allocations: 180.7 kB / 0.5708 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.209e-05/0.01205, allocations: 268.1 kB / 0.571 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.01213, allocations: 148.8 kB / 0.5712 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.01219, allocations: 268.1 kB / 0.5714 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.01222, allocations: 148.8 kB / 0.5716 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001504/0.01237, allocations: 267.1 kB / 0.5718 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01237, allocations: 0 / 0.5718 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002585/0.01263, allocations: 91.86 kB / 0.5719 GB, free: 14.8 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.0002872/0.01292, allocations: 354.5 kB / 0.5723 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.01306, allocations: 108.9 kB / 0.5724 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01307, allocations: 0 / 0.5724 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.01307, allocations: 0 / 0.5724 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.01338, allocations: 0.7139 MB / 0.5731 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.01398, allocations: 0.4915 MB / 0.5735 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.01403, allocations: 91.3 kB / 0.5736 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.176e-05/0.01404, allocations: 7.984 kB / 0.5736 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.01406, allocations: 8.5 kB / 0.5736 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of SimCode: time 1.463e-06/0.01406, allocations: 3.938 kB / 0.5736 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.005792/0.01985, allocations: 4.409 MB / 0.5779 GB, free: 8.582 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: 3.721704497002065]