Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001667/0.001667, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002074/0.002074, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.471/1.471, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8353/0.8353, allocations: 134 MB / 446.4 MB, free: 10.28 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 62.53 kB / 0.6186 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1645, allocations: 85.9 MB / 0.7024 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007276/0.1718, allocations: 4.692 MB / 0.707 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1731, allocations: 0.8225 MB / 0.7078 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.1731, allocations: 0 / 0.7078 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.1733, allocations: 31.78 kB / 0.7079 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.93e-05/0.1734, allocations: 31.72 kB / 0.7079 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.174, allocations: 175.3 kB / 0.7081 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1743, allocations: 183.4 kB / 0.7082 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.556e-05/0.1744, allocations: 13.28 kB / 0.7082 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.1745, allocations: 87.69 kB / 0.7083 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1747, allocations: 71.75 kB / 0.7084 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1747, allocations: 12 kB / 0.7084 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.175, allocations: 159.8 kB / 0.7086 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.245e-05/0.1751, allocations: 35.84 kB / 0.7086 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.1751, allocations: 71.64 kB / 0.7087 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.1755, allocations: 239.2 kB / 0.7089 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.1755, allocations: 4 kB / 0.7089 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1755, allocations: 4 kB / 0.7089 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1755, allocations: 0 / 0.7089 GB, free: 10.75 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008515/0.1763, allocations: 401.5 kB / 0.7093 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1764, allocations: 8.031 kB / 0.7093 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.1764, allocations: 50.73 kB / 0.7093 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.1765, allocations: 12.89 kB / 0.7094 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.1766, allocations: 133.5 kB / 0.7095 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.1767, allocations: 11.94 kB / 0.7095 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.1767, allocations: 12 kB / 0.7095 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.177, allocations: 113.6 kB / 0.7096 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.177, allocations: 3.938 kB / 0.7096 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.177, allocations: 7.938 kB / 0.7096 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.177, allocations: 4 kB / 0.7096 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004176/0.1775, allocations: 143.9 kB / 0.7098 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.1785, allocations: 439.4 kB / 0.7102 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.1788, allocations: 118.5 kB / 0.7103 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.179, allocations: 64.81 kB / 0.7104 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/0.1801, allocations: 492 kB / 0.7108 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.1802, allocations: 42.55 kB / 0.7109 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1802, allocations: 0 / 0.7109 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0006631/0.1808, allocations: 213.4 kB / 0.7111 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1809, allocations: 51.41 kB / 0.7111 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1811, allocations: 167.2 kB / 0.7113 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.1811, allocations: 29.7 kB / 0.7113 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.1812, allocations: 108.4 kB / 0.7114 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.1812, allocations: 47.62 kB / 0.7115 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.1813, allocations: 49.7 kB / 0.7115 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1814, allocations: 326.8 kB / 0.7118 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.1817, allocations: 75.94 kB / 0.7119 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.1819, allocations: 103.4 kB / 0.712 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.1823, allocations: 167.3 kB / 0.7121 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1823, allocations: 0 / 0.7121 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005678/0.1829, allocations: 255.8 kB / 0.7124 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1829, allocations: 4 kB / 0.7124 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1829, allocations: 4 kB / 0.7124 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1829, allocations: 0 / 0.7124 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.1832, allocations: 51.95 kB / 0.7124 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1832, allocations: 4 kB / 0.7125 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1833, allocations: 39.86 kB / 0.7125 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.1834, allocations: 7.938 kB / 0.7125 GB, free: 6.84 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (26): * Single equations (assignments): 26 * 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 prepare postOptimizeDAE: time 0.0001138/0.1835, allocations: 125.8 kB / 0.7126 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.1835, allocations: 15.84 kB / 0.7126 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.184, allocations: 174.2 kB / 0.7128 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.184, allocations: 8 kB / 0.7128 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.184, allocations: 3.984 kB / 0.7128 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.184, allocations: 3.984 kB / 0.7128 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.1842, allocations: 184.6 kB / 0.713 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1842, allocations: 7.875 kB / 0.713 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.1844, allocations: 27.98 kB / 0.713 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1844, allocations: 0 / 0.713 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1844, allocations: 11.98 kB / 0.713 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1844, allocations: 0 / 0.713 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1844, allocations: 4 kB / 0.713 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.1849, allocations: 255.3 kB / 0.7133 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.1849, allocations: 27.77 kB / 0.7133 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1849, allocations: 4 kB / 0.7133 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.1851, allocations: 15.98 kB / 0.7133 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.1851, allocations: 15.97 kB / 0.7133 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.1851, allocations: 4 kB / 0.7133 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.173e-05/0.1852, allocations: 112 kB / 0.7135 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1852, allocations: 0 / 0.7135 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003217/0.1855, allocations: 59.88 kB / 0.7135 GB, free: 5.727 MB / 0.5294 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 (12): * Single equations (assignments): 12 * 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.0009906/0.1865, allocations: 0.8557 MB / 0.7143 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005324/0.187, allocations: 155.8 kB / 0.7145 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.187, allocations: 0 / 0.7145 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.1872, allocations: 63.89 kB / 0.7146 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1876, allocations: 28.11 kB / 0.7146 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.1902, allocations: 1.952 MB / 0.7165 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.1905, allocations: 0.7045 MB / 0.7172 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.782e-05/0.1906, allocations: 25 kB / 0.7172 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.1907, allocations: 35.42 kB / 0.7172 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1907, allocations: 0 / 0.7172 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.2206, allocations: 4.433 MB / 0.7216 GB, free: 13.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.12, allocations: 6.719 kB / 0.7216 GB, free: 13.49 MB / 0.545 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.785191538998333] Failed to read output from testmodel.py, exit status != 0: 11.220817301000352 11.236312041 11.057776606 Calling exit ...