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.001942/0.001941, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.00225/0.002251, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.383/1.383, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8415/0.8415, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 75.59 kB / 0.5735 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1579, allocations: 78.87 MB / 0.6505 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002908/0.1609, allocations: 1.389 MB / 0.6519 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.1638, allocations: 1.935 MB / 0.6538 GB, free: 272 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.1638, allocations: 0 / 0.6538 GB, free: 272 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.1651, allocations: 385.9 kB / 0.6542 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.8e-05/0.1652, allocations: 23.91 kB / 0.6542 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.168e-06/0.1652, allocations: 0 / 0.6542 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.1654, allocations: 115.2 kB / 0.6543 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.665e-05/0.1655, allocations: 25.48 kB / 0.6543 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.47e-05/0.1656, allocations: 51.72 kB / 0.6544 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1657, allocations: 59.72 kB / 0.6544 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1657, allocations: 0 / 0.6544 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005702/0.1663, allocations: 183.9 kB / 0.6546 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.1664, allocations: 39.77 kB / 0.6546 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.1665, allocations: 67.62 kB / 0.6547 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.167, allocations: 295 kB / 0.655 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.167, allocations: 0 / 0.655 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.167, allocations: 0 / 0.655 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.167, allocations: 0 / 0.655 GB, free: 15.04 MB / 0.4981 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.0007463/0.1678, allocations: 498.3 kB / 0.6554 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1678, allocations: 8.031 kB / 0.6555 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.01e-05/0.1679, allocations: 110 kB / 0.6556 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.1681, allocations: 100.1 kB / 0.6557 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1683, allocations: 287.4 kB / 0.6559 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.1684, allocations: 162.9 kB / 0.6561 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.136e-05/0.1685, allocations: 150.9 kB / 0.6562 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.639e-05/0.1686, allocations: 104.9 kB / 0.6563 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.1686, allocations: 79.28 kB / 0.6564 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.1687, allocations: 154.6 kB / 0.6566 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.351e-05/0.1688, allocations: 154.5 kB / 0.6567 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.501e-05/0.1689, allocations: 150.6 kB / 0.6568 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.1693, allocations: 0.5133 MB / 0.6573 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1694, allocations: 173.1 kB / 0.6575 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/0.1695, allocations: 80.14 kB / 0.6576 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.1695, allocations: 79.22 kB / 0.6577 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.1697, allocations: 109.8 kB / 0.6578 GB, free: 12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1697, allocations: 0 / 0.6578 GB, free: 12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001728/0.1699, allocations: 53.55 kB / 0.6578 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.1699, allocations: 126.7 kB / 0.6579 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.1703, allocations: 330.3 kB / 0.6583 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1703, allocations: 25.7 kB / 0.6583 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/0.1704, allocations: 116.5 kB / 0.6584 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.1705, allocations: 0 / 0.6584 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.673e-05/0.1705, allocations: 61.67 kB / 0.6584 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1707, allocations: 330.8 kB / 0.6588 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.1708, allocations: 67.95 kB / 0.6588 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.1709, allocations: 121.5 kB / 0.6589 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.1712, allocations: 209.8 kB / 0.6591 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1712, allocations: 4 kB / 0.6591 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004294/0.1716, allocations: 241.2 kB / 0.6594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1717, allocations: 9.875 kB / 0.6594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1717, allocations: 0 / 0.6594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1717, allocations: 4 kB / 0.6594 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-06/0.1717, allocations: 3.938 kB / 0.6594 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1717, allocations: 7.938 kB / 0.6594 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1718, allocations: 23.73 kB / 0.6594 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1719, allocations: 8 kB / 0.6594 GB, free: 10.18 MB / 0.4981 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.0002104/0.1721, allocations: 225.3 kB / 0.6596 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.1722, allocations: 124.8 kB / 0.6598 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.1722, allocations: 113.8 kB / 0.6599 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-05/0.1723, allocations: 176.3 kB / 0.66 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.948e-05/0.1724, allocations: 184.2 kB / 0.6602 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.048e-05/0.1725, allocations: 188.3 kB / 0.6604 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.1728, allocations: 453.1 kB / 0.6608 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/0.1729, allocations: 104.9 kB / 0.6609 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.1729, allocations: 101 kB / 0.661 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.886e-05/0.173, allocations: 188.2 kB / 0.6612 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.63e-05/0.1731, allocations: 180.2 kB / 0.6614 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.195e-05/0.1732, allocations: 184.2 kB / 0.6616 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.936e-05/0.1733, allocations: 176.3 kB / 0.6617 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1734, allocations: 327.6 kB / 0.662 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.1736, allocations: 197.9 kB / 0.6622 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.1737, allocations: 184.2 kB / 0.6624 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.1738, allocations: 113 kB / 0.6625 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.1739, allocations: 180.2 kB / 0.6627 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.1739, allocations: 101.3 kB / 0.6628 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002128/0.1742, allocations: 217.9 kB / 0.663 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1742, allocations: 0 / 0.663 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003634/0.1745, allocations: 63.94 kB / 0.663 GB, free: 6.258 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.0006511/0.1752, allocations: 0.9294 MB / 0.664 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.1754, allocations: 99.89 kB / 0.664 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1754, allocations: 4 kB / 0.6641 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.1754, allocations: 4 kB / 0.6641 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.1758, allocations: 456.7 kB / 0.6645 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.1784, allocations: 2.452 MB / 0.6669 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.1788, allocations: 0.7392 MB / 0.6676 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.504e-05/0.1788, allocations: 7.906 kB / 0.6676 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.1789, allocations: 43.36 kB / 0.6677 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1789, allocations: 0 / 0.6677 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.2056, allocations: 4.84 MB / 0.6724 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.405, allocations: 6.594 kB / 0.6724 GB, free: 12.64 MB / 0.5137 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)