Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008647/0.0008647, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008971/0.0008971, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.92/0.92, 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.5487/0.5487, 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_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.5542 GB, free: 1.695 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.565e-05, allocations: 6.281 kB / 0.5542 GB, free: 1.688 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001779/0.001795, allocations: 1.414 MB / 0.5556 GB, free: 276 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.003774, allocations: 2.394 MB / 0.5579 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.003806, allocations: 0 / 0.5579 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.004981, allocations: 0.5476 MB / 0.5584 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.005024, allocations: 23.86 kB / 0.5584 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.268e-06/0.005028, allocations: 3.938 kB / 0.5584 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.005236, allocations: 162.8 kB / 0.5586 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.005281, allocations: 16.58 kB / 0.5586 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.731e-05/0.005358, allocations: 87.72 kB / 0.5587 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.853e-05/0.005457, allocations: 59.84 kB / 0.5588 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.005471, allocations: 4 kB / 0.5588 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005937/0.006065, allocations: 407.4 kB / 0.5592 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.006127, allocations: 35.84 kB / 0.5592 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.006215, allocations: 63.8 kB / 0.5592 GB, free: 12.47 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.006673, allocations: 446.1 kB / 0.5597 GB, free: 12.03 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.006675, allocations: 0 / 0.5597 GB, free: 12.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006676, allocations: 0 / 0.5597 GB, free: 12.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.006682, allocations: 4 kB / 0.5597 GB, free: 12.03 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.0005886/0.00727, allocations: 492.7 kB / 0.5601 GB, free: 11.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.007314, allocations: 11.97 kB / 0.5602 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.007359, allocations: 106 kB / 0.5603 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.007466, allocations: 104 kB / 0.5604 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.007634, allocations: 255.7 kB / 0.5606 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.007673, allocations: 154.9 kB / 0.5608 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.007714, allocations: 154.9 kB / 0.5609 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.767e-05/0.007761, allocations: 101.5 kB / 0.561 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.007782, allocations: 75.47 kB / 0.5611 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.007819, allocations: 154.9 kB / 0.5612 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.007857, allocations: 158.7 kB / 0.5614 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.007897, allocations: 162.5 kB / 0.5615 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.008163, allocations: 0.5007 MB / 0.562 GB, free: 9.516 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.277e-05/0.008226, allocations: 173.1 kB / 0.5622 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.008254, allocations: 84.08 kB / 0.5623 GB, free: 9.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.008273, allocations: 75.28 kB / 0.5623 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.008307, allocations: 109.8 kB / 0.5624 GB, free: 9.059 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.008308, allocations: 0 / 0.5624 GB, free: 9.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001101/0.008418, allocations: 53.52 kB / 0.5625 GB, free: 9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.008459, allocations: 130.6 kB / 0.5626 GB, free: 8.859 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.008755, allocations: 433.3 kB / 0.563 GB, free: 8.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.008765, allocations: 29.7 kB / 0.563 GB, free: 8.395 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.008826, allocations: 136.5 kB / 0.5632 GB, free: 8.258 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.008828, allocations: 0 / 0.5632 GB, free: 8.258 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.008888, allocations: 89.66 kB / 0.5633 GB, free: 8.164 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.008976, allocations: 342.8 kB / 0.5636 GB, free: 7.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.009058, allocations: 96.59 kB / 0.5637 GB, free: 7.727 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.009162, allocations: 165.9 kB / 0.5638 GB, free: 7.547 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.009363, allocations: 305.6 kB / 0.5641 GB, free: 7.227 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.009365, allocations: 4 kB / 0.5641 GB, free: 7.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003211/0.009686, allocations: 329 kB / 0.5645 GB, free: 6.895 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.009698, allocations: 8.219 kB / 0.5645 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.009704, allocations: 4 kB / 0.5645 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.009718, allocations: 7.984 kB / 0.5645 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-06/0.00972, allocations: 3.938 kB / 0.5645 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.009726, allocations: 4 kB / 0.5645 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.308e-05/0.009809, allocations: 39.56 kB / 0.5645 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.009816, allocations: 4 kB / 0.5645 GB, free: 6.824 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.0001396/0.009955, allocations: 245 kB / 0.5648 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.01001, allocations: 124.8 kB / 0.5649 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.01004, allocations: 118.8 kB / 0.565 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-05/0.01008, allocations: 184.3 kB / 0.5652 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.195e-05/0.01013, allocations: 184.3 kB / 0.5653 GB, free: 5.941 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.016e-05/0.01017, allocations: 184.2 kB / 0.5655 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.01035, allocations: 444.2 kB / 0.5659 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-05/0.01037, allocations: 109 kB / 0.566 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.0104, allocations: 105 kB / 0.5661 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.883e-05/0.01044, allocations: 180.2 kB / 0.5663 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.01048, allocations: 188.2 kB / 0.5665 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.942e-05/0.01052, allocations: 180.3 kB / 0.5667 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-05/0.01056, allocations: 184.1 kB / 0.5668 GB, free: 4.301 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.01066, allocations: 331.6 kB / 0.5672 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.01071, allocations: 128.8 kB / 0.5673 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.01076, allocations: 176.3 kB / 0.5674 GB, free: 3.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.01083, allocations: 104.9 kB / 0.5675 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.01088, allocations: 192.2 kB / 0.5677 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.0109, allocations: 104.9 kB / 0.5678 GB, free: 3.227 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000179/0.01108, allocations: 279.1 kB / 0.5681 GB, free: 2.957 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01108, allocations: 0 / 0.5681 GB, free: 2.957 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00025/0.01133, allocations: 83.88 kB / 0.5682 GB, free: 2.875 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.0004426/0.01177, allocations: 0.9529 MB / 0.5691 GB, free: 1.891 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.01193, allocations: 123.9 kB / 0.5692 GB, free: 1.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01193, allocations: 3.938 kB / 0.5692 GB, free: 1.766 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.01193, allocations: 0 / 0.5692 GB, free: 1.766 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.0122, allocations: 473.1 kB / 0.5697 GB, free: 1.301 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.01423, allocations: 2.965 MB / 0.5726 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.01433, allocations: 168.7 kB / 0.5727 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.242e-05/0.01434, allocations: 3.984 kB / 0.5727 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.0144, allocations: 52.48 kB / 0.5728 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of SimCode: time 6.32e-07/0.0144, allocations: 0 / 0.5728 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.03333, allocations: 7.196 MB / 0.5798 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.192, allocations: 2.344 kB / 0.5798 GB, free: 6.977 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med_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_med.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.724750543944538] Failed to read output from testmodel.py, exit status != 0: 7.27638665959239 7.28548171 7.277017658 Calling exit ...