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.001459/0.001459, 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.001444/0.001444, 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.9361/0.9361, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.001836/0.001836, allocations: 233.9 kB / 261.3 MB, free: 12.66 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.7284/0.7284, allocations: 138.5 MB / 456.3 MB, free: 1.391 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.615e-06/2.615e-06, allocations: 3.984 kB / 0.5563 GB, free: 244 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.267e-05, allocations: 9.766 kB / 0.5564 GB, free: 236 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002353/0.002376, allocations: 1.461 MB / 0.5578 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00287/0.005246, allocations: 2.612 MB / 0.5603 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.00528, allocations: 0 / 0.5603 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.006676, allocations: 0.563 MB / 0.5609 GB, free: 11.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.006729, allocations: 19.84 kB / 0.5609 GB, free: 11.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.006733, allocations: 4 kB / 0.5609 GB, free: 11.54 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.006994, allocations: 166.8 kB / 0.5611 GB, free: 11.38 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.007046, allocations: 16.58 kB / 0.5611 GB, free: 11.37 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.007152, allocations: 87.72 kB / 0.5612 GB, free: 11.28 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.007279, allocations: 59.83 kB / 0.5612 GB, free: 11.22 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.007295, allocations: 4 kB / 0.5612 GB, free: 11.22 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006841/0.007979, allocations: 407.3 kB / 0.5616 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.008031, allocations: 35.84 kB / 0.5616 GB, free: 10.79 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.216e-05/0.008113, allocations: 59.8 kB / 0.5617 GB, free: 10.73 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005821/0.008695, allocations: 430.2 kB / 0.5621 GB, free: 10.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.008697, allocations: 0 / 0.5621 GB, free: 10.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.008698, allocations: 0 / 0.5621 GB, free: 10.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.008702, allocations: 4 kB / 0.5621 GB, free: 10.3 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.0006793/0.009381, allocations: 0.5966 MB / 0.5627 GB, free: 9.664 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.009414, allocations: 8.75 kB / 0.5627 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.009518, allocations: 147.9 kB / 0.5629 GB, free: 9.512 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.009666, allocations: 286.5 kB / 0.5631 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/0.009742, allocations: 246.8 kB / 0.5634 GB, free: 8.961 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.009824, allocations: 238.8 kB / 0.5636 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.114e-05/0.009895, allocations: 149.5 kB / 0.5637 GB, free: 8.574 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.009931, allocations: 119.4 kB / 0.5638 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.009996, allocations: 242.8 kB / 0.5641 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-05/0.01006, allocations: 238.8 kB / 0.5643 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.953e-05/0.01013, allocations: 250.2 kB / 0.5645 GB, free: 7.738 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.01049, allocations: 0.6348 MB / 0.5652 GB, free: 7.078 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.643e-05/0.01058, allocations: 269.4 kB / 0.5654 GB, free: 6.801 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.01062, allocations: 126.9 kB / 0.5655 GB, free: 6.672 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.01066, allocations: 119.2 kB / 0.5657 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.129e-05/0.01072, allocations: 152.6 kB / 0.5658 GB, free: 6.395 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.01072, allocations: 4 kB / 0.5658 GB, free: 6.391 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001073/0.01083, allocations: 61.45 kB / 0.5659 GB, free: 6.324 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.01088, allocations: 178.6 kB / 0.566 GB, free: 6.137 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.01115, allocations: 474.2 kB / 0.5665 GB, free: 5.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.01116, allocations: 25.7 kB / 0.5665 GB, free: 5.629 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.01124, allocations: 203.3 kB / 0.5667 GB, free: 5.426 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.01124, allocations: 0 / 0.5667 GB, free: 5.426 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.01133, allocations: 127.2 kB / 0.5668 GB, free: 5.293 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.01147, allocations: 0.5351 MB / 0.5673 GB, free: 4.746 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.01151, allocations: 28.66 kB / 0.5674 GB, free: 4.715 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.0116, allocations: 137.6 kB / 0.5675 GB, free: 4.551 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.01176, allocations: 201.5 kB / 0.5677 GB, free: 4.324 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01176, allocations: 0 / 0.5677 GB, free: 4.324 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003005/0.01206, allocations: 253.1 kB / 0.5679 GB, free: 4.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.01207, allocations: 4 kB / 0.5679 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.01208, allocations: 4 kB / 0.5679 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.01209, allocations: 0 / 0.5679 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-06/0.01209, allocations: 4 kB / 0.568 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.0121, allocations: 4.062 kB / 0.568 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.022e-05/0.01219, allocations: 47.52 kB / 0.568 GB, free: 4.008 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.01219, allocations: 7.938 kB / 0.568 GB, free: 4 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.0001149/0.01231, allocations: 291.8 kB / 0.5683 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.01237, allocations: 172.7 kB / 0.5685 GB, free: 3.527 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.01242, allocations: 154.8 kB / 0.5686 GB, free: 3.363 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.095e-05/0.01249, allocations: 268 kB / 0.5689 GB, free: 3.094 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.59e-05/0.01256, allocations: 272.1 kB / 0.5691 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-05/0.01264, allocations: 272 kB / 0.5694 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.01287, allocations: 0.5277 MB / 0.5699 GB, free: 1.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.892e-05/0.0129, allocations: 148.8 kB / 0.57 GB, free: 1.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.01295, allocations: 156.9 kB / 0.5702 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.438e-05/0.01302, allocations: 268.1 kB / 0.5704 GB, free: 1.402 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/0.0131, allocations: 268 kB / 0.5707 GB, free: 1.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.309e-05/0.01318, allocations: 272 kB / 0.571 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-05/0.01326, allocations: 272 kB / 0.5712 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.01343, allocations: 463.8 kB / 0.5717 GB, free: 108 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.352e-05/0.01351, allocations: 180.7 kB / 0.5718 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.0136, allocations: 268.1 kB / 0.5721 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.01369, allocations: 152.8 kB / 0.5722 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.01376, allocations: 268.1 kB / 0.5725 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.01379, allocations: 144.9 kB / 0.5726 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001358/0.01393, allocations: 259 kB / 0.5729 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.2e-07/0.01393, allocations: 0 / 0.5729 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002689/0.0142, allocations: 83.88 kB / 0.5729 GB, free: 14.75 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.0002809/0.01448, allocations: 377.7 kB / 0.5733 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.01462, allocations: 100.9 kB / 0.5734 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01462, allocations: 0 / 0.5734 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.01463, allocations: 0 / 0.5734 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.01497, allocations: 0.7144 MB / 0.5741 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.0155, allocations: 495.3 kB / 0.5746 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.914e-05/0.01556, allocations: 99.28 kB / 0.5747 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.488e-06/0.01557, allocations: 0 / 0.5747 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.01562, allocations: 78.19 kB / 0.5747 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01562, allocations: 0 / 0.5747 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.005631/0.02125, allocations: 4.455 MB / 0.5791 GB, free: 8.406 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.777217485010624]