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.0008251/0.0008251, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.0008225/0.0008225, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.8647/0.8647, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5193/0.5193, allocations: 114 MB / 373.9 MB, free: 8.699 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.803e-06/1.803e-06, allocations: 0 / 0.5542 GB, free: 1.746 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.369e-05, allocations: 5.375 kB / 0.5542 GB, free: 1.742 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002548/0.002572, allocations: 1.401 MB / 0.5555 GB, free: 340 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.004296, allocations: 1.752 MB / 0.5572 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.00434, allocations: 0 / 0.5572 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007676/0.005108, allocations: 353.8 kB / 0.5576 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.912e-05/0.005147, allocations: 31.77 kB / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.005151, allocations: 0 / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.005334, allocations: 135.1 kB / 0.5577 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.005376, allocations: 5.688 kB / 0.5577 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.521e-05/0.005441, allocations: 59.81 kB / 0.5578 GB, free: 14 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.647e-05/0.005538, allocations: 55.89 kB / 0.5579 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.005554, allocations: 0 / 0.5579 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.005818, allocations: 179.8 kB / 0.558 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.005859, allocations: 27.91 kB / 0.5581 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.005907, allocations: 47.86 kB / 0.5581 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.006205, allocations: 302.8 kB / 0.5584 GB, free: 13.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.006208, allocations: 0 / 0.5584 GB, free: 13.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.006209, allocations: 0 / 0.5584 GB, free: 13.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.006214, allocations: 3.938 kB / 0.5584 GB, free: 13.39 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.0004744/0.006688, allocations: 421.2 kB / 0.5588 GB, free: 12.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.006727, allocations: 8.625 kB / 0.5588 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.006766, allocations: 110 kB / 0.5589 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.875e-05/0.006865, allocations: 104.1 kB / 0.559 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.007011, allocations: 232.4 kB / 0.5592 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.007051, allocations: 154.9 kB / 0.5594 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.007092, allocations: 162.9 kB / 0.5595 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.695e-05/0.007139, allocations: 101.5 kB / 0.5596 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.007158, allocations: 75.47 kB / 0.5597 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.007195, allocations: 158.5 kB / 0.5599 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/0.007232, allocations: 150.6 kB / 0.56 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.723e-05/0.007269, allocations: 154.6 kB / 0.5601 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.00751, allocations: 480.9 kB / 0.5606 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.35e-05/0.007574, allocations: 169.1 kB / 0.5608 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.007598, allocations: 84.14 kB / 0.5608 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.007623, allocations: 75.28 kB / 0.5609 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.007657, allocations: 109.8 kB / 0.561 GB, free: 10.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.007658, allocations: 0 / 0.561 GB, free: 10.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001172/0.007775, allocations: 61.44 kB / 0.5611 GB, free: 10.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.007819, allocations: 130.7 kB / 0.5612 GB, free: 10.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.00804, allocations: 321.6 kB / 0.5615 GB, free: 10.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.00805, allocations: 29.7 kB / 0.5615 GB, free: 9.992 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.008101, allocations: 116.5 kB / 0.5616 GB, free: 9.875 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.008103, allocations: 0 / 0.5616 GB, free: 9.875 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.008152, allocations: 65.67 kB / 0.5617 GB, free: 9.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.923e-05/0.008232, allocations: 326.8 kB / 0.562 GB, free: 9.477 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.008292, allocations: 63.95 kB / 0.5621 GB, free: 9.414 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.128e-05/0.008373, allocations: 121.7 kB / 0.5622 GB, free: 9.273 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.008526, allocations: 213.8 kB / 0.5624 GB, free: 9.043 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008528, allocations: 0 / 0.5624 GB, free: 9.043 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004618/0.00899, allocations: 241.3 kB / 0.5626 GB, free: 8.801 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.009004, allocations: 8 kB / 0.5626 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.009011, allocations: 3.938 kB / 0.5626 GB, free: 8.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.009024, allocations: 7.938 kB / 0.5627 GB, free: 8.781 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.009025, allocations: 0 / 0.5627 GB, free: 8.781 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.00903, allocations: 7.938 kB / 0.5627 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.009104, allocations: 27.73 kB / 0.5627 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.009111, allocations: 0 / 0.5627 GB, free: 8.746 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.0001567/0.009268, allocations: 225.3 kB / 0.5629 GB, free: 8.516 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.009317, allocations: 124.8 kB / 0.563 GB, free: 8.387 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.009356, allocations: 125.7 kB / 0.5631 GB, free: 8.262 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/0.009396, allocations: 180.3 kB / 0.5633 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.162e-05/0.009438, allocations: 180.2 kB / 0.5635 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.774e-05/0.009475, allocations: 180.3 kB / 0.5637 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.009641, allocations: 424.2 kB / 0.5641 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-05/0.009665, allocations: 101 kB / 0.5642 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.009686, allocations: 105 kB / 0.5643 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.801e-05/0.009724, allocations: 184.1 kB / 0.5644 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.009763, allocations: 184.2 kB / 0.5646 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.871e-05/0.009802, allocations: 184.2 kB / 0.5648 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.632e-05/0.009838, allocations: 184.5 kB / 0.565 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.939e-05/0.009928, allocations: 319.7 kB / 0.5653 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.009969, allocations: 124.8 kB / 0.5654 GB, free: 5.816 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.01002, allocations: 188.1 kB / 0.5656 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.01008, allocations: 101 kB / 0.5657 GB, free: 5.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.01012, allocations: 176.3 kB / 0.5658 GB, free: 5.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.01015, allocations: 112.9 kB / 0.5659 GB, free: 5.223 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.01027, allocations: 213.2 kB / 0.5661 GB, free: 5.012 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01027, allocations: 0 / 0.5661 GB, free: 5.012 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.0105, allocations: 63.94 kB / 0.5662 GB, free: 4.949 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.0004247/0.01093, allocations: 0.9218 MB / 0.5671 GB, free: 4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01106, allocations: 87.77 kB / 0.5672 GB, free: 3.914 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01106, allocations: 448 / 0.5672 GB, free: 3.914 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.01106, allocations: 4 kB / 0.5672 GB, free: 3.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.01132, allocations: 462.3 kB / 0.5676 GB, free: 3.457 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.0132, allocations: 2.459 MB / 0.57 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.209e-05/0.01328, allocations: 126.9 kB / 0.5702 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.511e-05/0.01329, allocations: 4 kB / 0.5702 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.01335, allocations: 36.48 kB / 0.5702 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of SimCode: time 1.473e-06/0.01335, allocations: 4 kB / 0.5702 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.03125, allocations: 5.572 MB / 0.5756 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.016/7.047, allocations: 8.781 kB / 0.5756 GB, free: 11.29 MB / 0.4948 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.353741015307605] Failed to read output from testmodel.py, exit status != 0: 7.130183182656765 7.140767171 7.132231063 Calling exit ...