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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 109.8 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7511/0.7511, allocations: 122.8 MB / 414 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.16 kB / 0.5679 GB, free: 29.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.161, allocations: 77.93 MB / 0.644 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002592/0.1636, allocations: 1.391 MB / 0.6454 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.166, allocations: 1.932 MB / 0.6473 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.1661, allocations: 0 / 0.6473 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.1673, allocations: 381.9 kB / 0.6477 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.1674, allocations: 23.91 kB / 0.6477 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.84e-06/0.1674, allocations: 0 / 0.6477 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.1676, allocations: 127.1 kB / 0.6478 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.1677, allocations: 21.5 kB / 0.6478 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.609e-05/0.1678, allocations: 47.78 kB / 0.6479 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.1679, allocations: 63.7 kB / 0.6479 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1679, allocations: 0 / 0.6479 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005536/0.1685, allocations: 183.9 kB / 0.6481 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.1685, allocations: 31.84 kB / 0.6481 GB, free: 5.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.149e-05/0.1686, allocations: 71.61 kB / 0.6482 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.1692, allocations: 291 kB / 0.6485 GB, free: 5.004 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1692, allocations: 0 / 0.6485 GB, free: 5.004 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1692, allocations: 4 kB / 0.6485 GB, free: 5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1692, allocations: 0 / 0.6485 GB, free: 5 MB / 494.1 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.0007483/0.17, allocations: 498.3 kB / 0.649 GB, free: 4.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.17, allocations: 8.625 kB / 0.649 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.285e-05/0.1701, allocations: 106 kB / 0.6491 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.1703, allocations: 104.1 kB / 0.6492 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1705, allocations: 295.3 kB / 0.6494 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/0.1706, allocations: 154.9 kB / 0.6496 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.1707, allocations: 150.9 kB / 0.6497 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.354e-05/0.1707, allocations: 104.9 kB / 0.6498 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.1708, allocations: 79.22 kB / 0.6499 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/0.1708, allocations: 162.5 kB / 0.6501 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/0.1709, allocations: 158.5 kB / 0.6502 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.1709, allocations: 154.6 kB / 0.6504 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.1713, allocations: 0.5017 MB / 0.6509 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.354e-05/0.1714, allocations: 165.1 kB / 0.651 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.1714, allocations: 88.12 kB / 0.6511 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.1715, allocations: 79.22 kB / 0.6512 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.1715, allocations: 109.8 kB / 0.6513 GB, free: 1.953 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.1715, allocations: 0 / 0.6513 GB, free: 1.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001816/0.1717, allocations: 49.56 kB / 0.6513 GB, free: 1.898 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.1718, allocations: 126.7 kB / 0.6514 GB, free: 1.762 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.1721, allocations: 330.4 kB / 0.6518 GB, free: 1.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1721, allocations: 25.7 kB / 0.6518 GB, free: 1.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.1722, allocations: 120.5 kB / 0.6519 GB, free: 1.273 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-06/0.1723, allocations: 0 / 0.6519 GB, free: 1.273 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.1724, allocations: 61.67 kB / 0.652 GB, free: 1.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1725, allocations: 330.8 kB / 0.6523 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-05/0.1726, allocations: 63.89 kB / 0.6523 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.1727, allocations: 122 kB / 0.6525 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.173, allocations: 201.9 kB / 0.6526 GB, free: 464 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.173, allocations: 3.984 kB / 0.6526 GB, free: 460 kB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004493/0.1735, allocations: 241.2 kB / 0.6529 GB, free: 212 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1735, allocations: 9.562 kB / 0.6529 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.1735, allocations: 4.219 kB / 0.6529 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1735, allocations: 4 kB / 0.6529 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-06/0.1735, allocations: 4 kB / 0.6529 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1735, allocations: 4 kB / 0.6529 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.1737, allocations: 23.73 kB / 0.6529 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1737, allocations: 4 kB / 0.6529 GB, free: 160 kB / 494.1 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.0002313/0.1739, allocations: 229.1 kB / 0.6531 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/0.174, allocations: 124.8 kB / 0.6533 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.1741, allocations: 109.9 kB / 0.6534 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.77e-05/0.1741, allocations: 184.2 kB / 0.6535 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.764e-05/0.1742, allocations: 180.3 kB / 0.6537 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-05/0.1743, allocations: 184.2 kB / 0.6539 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.1746, allocations: 449.2 kB / 0.6543 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-05/0.1746, allocations: 108.9 kB / 0.6544 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.1747, allocations: 108.9 kB / 0.6545 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.323e-05/0.1748, allocations: 180.3 kB / 0.6547 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/0.1748, allocations: 184.1 kB / 0.6549 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.024e-05/0.1749, allocations: 180.3 kB / 0.655 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.339e-05/0.175, allocations: 184.2 kB / 0.6552 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.1751, allocations: 323.6 kB / 0.6555 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1753, allocations: 201.9 kB / 0.6557 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.1754, allocations: 180.2 kB / 0.6559 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1755, allocations: 105 kB / 0.656 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.1756, allocations: 184.2 kB / 0.6562 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.1756, allocations: 101.3 kB / 0.6563 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00021/0.1758, allocations: 217.9 kB / 0.6565 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1758, allocations: 0 / 0.6565 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003721/0.1762, allocations: 63.94 kB / 0.6565 GB, free: 12.23 MB / 0.4981 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.0006113/0.1768, allocations: 0.9334 MB / 0.6574 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.177, allocations: 104.2 kB / 0.6575 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.177, allocations: 4 kB / 0.6576 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.177, allocations: 0 / 0.6576 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1774, allocations: 456.2 kB / 0.658 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.1797, allocations: 2.449 MB / 0.6604 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.18, allocations: 0.7418 MB / 0.6611 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.388e-05/0.18, allocations: 0 / 0.6611 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.18, allocations: 39.42 kB / 0.6611 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.1801, allocations: 0 / 0.6611 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.2022, allocations: 4.85 MB / 0.6659 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/7.985, allocations: 8.078 kB / 0.6659 GB, free: 2.617 MB / 0.4981 GB (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)