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.001688/0.001688, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001945/0.001945, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.462/1.462, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.8579/0.8579, allocations: 133.9 MB / 442.8 MB, free: 11.3 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.001871/0.001871, allocations: 67.17 kB / 0.6134 GB, free: 8.719 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1743, allocations: 85.86 MB / 0.6973 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006599/0.1809, allocations: 4.645 MB / 0.7018 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1821, allocations: 0.8108 MB / 0.7026 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.1822, allocations: 0 / 0.7026 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.1823, allocations: 31.77 kB / 0.7026 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.1824, allocations: 31.7 kB / 0.7027 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005302/0.1829, allocations: 179.3 kB / 0.7028 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.1831, allocations: 175.4 kB / 0.703 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.1832, allocations: 17.05 kB / 0.703 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1834, allocations: 95.61 kB / 0.7031 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1835, allocations: 71.73 kB / 0.7032 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.1835, allocations: 12 kB / 0.7032 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.1839, allocations: 159.7 kB / 0.7033 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.232e-05/0.1839, allocations: 39.89 kB / 0.7034 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.741e-05/0.184, allocations: 67.66 kB / 0.7034 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.1844, allocations: 235.2 kB / 0.7037 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1844, allocations: 0 / 0.7037 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1844, allocations: 0 / 0.7037 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1844, allocations: 0 / 0.7037 GB, free: 12.36 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.0009628/0.1854, allocations: 488.5 kB / 0.7041 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1854, allocations: 9.109 kB / 0.7041 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/0.1855, allocations: 42.73 kB / 0.7042 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.1855, allocations: 8.891 kB / 0.7042 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.1857, allocations: 196.1 kB / 0.7044 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.1857, allocations: 7.938 kB / 0.7044 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.1858, allocations: 12 kB / 0.7044 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.1861, allocations: 124 kB / 0.7045 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1861, allocations: 3.938 kB / 0.7045 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1861, allocations: 4 kB / 0.7045 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1861, allocations: 0 / 0.7045 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.1866, allocations: 139.9 kB / 0.7047 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.1876, allocations: 472.4 kB / 0.7051 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.1879, allocations: 106.5 kB / 0.7052 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.1881, allocations: 68.81 kB / 0.7053 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/0.1896, allocations: 0.9644 MB / 0.7062 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.1896, allocations: 34.56 kB / 0.7063 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.1896, allocations: 3.938 kB / 0.7063 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007334/0.1903, allocations: 215.3 kB / 0.7065 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1904, allocations: 55.41 kB / 0.7065 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1905, allocations: 159.3 kB / 0.7067 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.1906, allocations: 29.7 kB / 0.7067 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1907, allocations: 120.4 kB / 0.7068 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.1907, allocations: 39.64 kB / 0.7068 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.1908, allocations: 53.69 kB / 0.7069 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.191, allocations: 318.8 kB / 0.7072 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.1912, allocations: 71.95 kB / 0.7073 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.1915, allocations: 111.4 kB / 0.7074 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.192, allocations: 169.9 kB / 0.7075 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.192, allocations: 4 kB / 0.7075 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006053/0.1926, allocations: 251.8 kB / 0.7078 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1926, allocations: 7.938 kB / 0.7078 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1926, allocations: 0 / 0.7078 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1926, allocations: 4 kB / 0.7078 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.1929, allocations: 56 kB / 0.7078 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1929, allocations: 4 kB / 0.7079 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.193, allocations: 35.8 kB / 0.7079 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.1931, allocations: 12 kB / 0.7079 GB, free: 7.645 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.0001212/0.1932, allocations: 121.8 kB / 0.708 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.1932, allocations: 19.84 kB / 0.708 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005263/0.1938, allocations: 178.9 kB / 0.7082 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1938, allocations: 0 / 0.7082 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1938, allocations: 4 kB / 0.7082 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1938, allocations: 0 / 0.7082 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.1941, allocations: 213.5 kB / 0.7084 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1941, allocations: 3.938 kB / 0.7084 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.1942, allocations: 31.97 kB / 0.7084 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1942, allocations: 4 kB / 0.7084 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1942, allocations: 4 kB / 0.7085 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1942, allocations: 3.938 kB / 0.7085 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1942, allocations: 0 / 0.7085 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.1947, allocations: 252.3 kB / 0.7087 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-05/0.1948, allocations: 112.9 kB / 0.7088 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1948, allocations: 4 kB / 0.7088 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.195, allocations: 11.98 kB / 0.7088 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.195, allocations: 11.98 kB / 0.7088 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1951, allocations: 0 / 0.7088 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.934e-05/0.1951, allocations: 120.9 kB / 0.7089 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1951, allocations: 0 / 0.7089 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003424/0.1955, allocations: 63.86 kB / 0.709 GB, free: 6.41 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.0009841/0.1965, allocations: 0.8455 MB / 0.7098 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005323/0.197, allocations: 160.6 kB / 0.71 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.197, allocations: 0 / 0.71 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.1972, allocations: 72.02 kB / 0.7101 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1976, allocations: 27.91 kB / 0.7101 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.2004, allocations: 1.953 MB / 0.712 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.2008, allocations: 0.7084 MB / 0.7127 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.751e-05/0.2009, allocations: 13.09 kB / 0.7127 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.091e-05/0.201, allocations: 35.42 kB / 0.7127 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.201, allocations: 0 / 0.7127 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.2294, allocations: 4.291 MB / 0.7169 GB, free: 14.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.117, allocations: 6.531 kB / 0.7169 GB, free: 14.33 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.814330759007134] Failed to read output from testmodel.py, exit status != 0: 8.185194860998308 8.20598647 8.017761411 Calling exit ...