Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008388/0.0008388, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0009616/0.0009616, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9077/0.9077, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5503/0.5503, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.672e-05, allocations: 6.219 kB / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001682/0.001699, allocations: 1.406 MB / 0.5555 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003021, allocations: 1.744 MB / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.003046, allocations: 0 / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008211/0.003867, allocations: 365.7 kB / 0.5576 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.532e-05/0.003902, allocations: 19.84 kB / 0.5576 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.003906, allocations: 8 kB / 0.5576 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.004075, allocations: 131.1 kB / 0.5577 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.004115, allocations: 5.688 kB / 0.5578 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.004176, allocations: 63.81 kB / 0.5578 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.404e-05/0.00427, allocations: 51.89 kB / 0.5579 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.004285, allocations: 0 / 0.5579 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.004515, allocations: 175.8 kB / 0.558 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.004556, allocations: 39.83 kB / 0.5581 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.004597, allocations: 47.92 kB / 0.5581 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.004874, allocations: 302.8 kB / 0.5584 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004876, allocations: 0 / 0.5584 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004877, allocations: 0 / 0.5584 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004881, allocations: 0 / 0.5584 GB, free: 14.44 MB / 0.5261 GB 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.0004921/0.005373, allocations: 417.2 kB / 0.5588 GB, free: 14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.005418, allocations: 8.625 kB / 0.5588 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.005463, allocations: 106 kB / 0.5589 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.005569, allocations: 104.1 kB / 0.559 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.005745, allocations: 236.4 kB / 0.5592 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.005793, allocations: 154.9 kB / 0.5594 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.005838, allocations: 158.9 kB / 0.5595 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.219e-05/0.0059, allocations: 101.5 kB / 0.5596 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.005925, allocations: 79.45 kB / 0.5597 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.005972, allocations: 162.4 kB / 0.5599 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-05/0.00601, allocations: 150.6 kB / 0.56 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.006053, allocations: 154.6 kB / 0.5602 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.006328, allocations: 480.8 kB / 0.5606 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.644e-05/0.006405, allocations: 169.1 kB / 0.5608 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.006431, allocations: 80.14 kB / 0.5608 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.006456, allocations: 87.22 kB / 0.5609 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.006491, allocations: 105.8 kB / 0.561 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.006492, allocations: 0 / 0.561 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 0.0001237/0.006616, allocations: 49.55 kB / 0.5611 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.006667, allocations: 126.7 kB / 0.5612 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.006917, allocations: 325.6 kB / 0.5615 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.00693, allocations: 25.7 kB / 0.5615 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.006989, allocations: 124.5 kB / 0.5617 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.006991, allocations: 0 / 0.5617 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.007041, allocations: 65.62 kB / 0.5617 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.007135, allocations: 330.8 kB / 0.562 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.007201, allocations: 63.95 kB / 0.5621 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/0.007296, allocations: 121.7 kB / 0.5622 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.007461, allocations: 209.8 kB / 0.5624 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.007463, allocations: 0 / 0.5624 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002874/0.007751, allocations: 233.3 kB / 0.5626 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.007763, allocations: 8 kB / 0.5626 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.007773, allocations: 7.922 kB / 0.5626 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.007783, allocations: 4 kB / 0.5626 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.007784, allocations: 0 / 0.5626 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.00779, allocations: 4 kB / 0.5627 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.448e-05/0.007854, allocations: 31.95 kB / 0.5627 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.007862, allocations: 7.984 kB / 0.5627 GB, free: 9.797 MB / 0.5261 GB 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.0001143/0.007977, allocations: 227.6 kB / 0.5629 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.008017, allocations: 124.8 kB / 0.563 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.008052, allocations: 113.7 kB / 0.5631 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.584e-05/0.008098, allocations: 188.2 kB / 0.5633 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.89e-05/0.008137, allocations: 176.3 kB / 0.5635 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.735e-05/0.008174, allocations: 188.2 kB / 0.5637 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.008334, allocations: 416.3 kB / 0.5641 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.008355, allocations: 105 kB / 0.5642 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.008377, allocations: 108.9 kB / 0.5643 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.444e-05/0.008411, allocations: 176.3 kB / 0.5644 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/0.008584, allocations: 188.1 kB / 0.5646 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.552e-05/0.008619, allocations: 188.2 kB / 0.5648 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.368e-05/0.008653, allocations: 180.4 kB / 0.565 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.641e-05/0.008739, allocations: 311.8 kB / 0.5653 GB, free: 7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.008781, allocations: 128.8 kB / 0.5654 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.008829, allocations: 184.2 kB / 0.5656 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.508e-05/0.008894, allocations: 105 kB / 0.5657 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.008932, allocations: 180.2 kB / 0.5658 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.008954, allocations: 117 kB / 0.5659 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001281/0.009082, allocations: 213.2 kB / 0.5661 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.009082, allocations: 0 / 0.5661 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002056/0.009288, allocations: 67.92 kB / 0.5662 GB, free: 5.992 MB / 0.5261 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.0004139/0.009702, allocations: 0.9218 MB / 0.5671 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.009826, allocations: 83.83 kB / 0.5672 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009828, allocations: 3.938 kB / 0.5672 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.009828, allocations: 0 / 0.5672 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.01011, allocations: 462.5 kB / 0.5676 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.01178, allocations: 2.444 MB / 0.57 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.41e-05/0.01186, allocations: 139.2 kB / 0.5702 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.626e-06/0.01186, allocations: 0 / 0.5702 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.0119, allocations: 40.48 kB / 0.5702 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/0.01191, allocations: 0 / 0.5702 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.02935, allocations: 5.563 MB / 0.5756 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.937, allocations: 5.688 kB / 0.5756 GB, free: 12.35 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.492029533721507] Failed to read output from testmodel.py, exit status != 0: 7.018820125609636 7.027086475 7.020458414 Calling exit ...