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.001308/0.001308, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00147/0.00147, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.75 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.8726/0.8726, allocations: 134 MB / 446.4 MB, free: 9.906 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.002009/0.002009, allocations: 74.38 kB / 0.6185 GB, free: 6.852 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.177, allocations: 85.9 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00683/0.1839, allocations: 4.402 MB / 0.7067 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1852, allocations: 0.7563 MB / 0.7074 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.1852, allocations: 0 / 0.7074 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.1854, allocations: 23.83 kB / 0.7074 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.1855, allocations: 35.66 kB / 0.7075 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.1861, allocations: 179.4 kB / 0.7077 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1863, allocations: 175.4 kB / 0.7078 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.1864, allocations: 13.3 kB / 0.7078 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.1866, allocations: 87.73 kB / 0.7079 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1867, allocations: 79.62 kB / 0.708 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.1867, allocations: 12 kB / 0.708 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.187, allocations: 135.8 kB / 0.7081 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.1871, allocations: 31.91 kB / 0.7082 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.1871, allocations: 51.8 kB / 0.7082 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.1875, allocations: 243.2 kB / 0.7084 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1875, allocations: 0 / 0.7084 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1875, allocations: 0 / 0.7084 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1875, allocations: 0 / 0.7084 GB, free: 10.8 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.0008628/0.1884, allocations: 413.4 kB / 0.7088 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1884, allocations: 8.031 kB / 0.7088 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.1884, allocations: 42.69 kB / 0.7089 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.1885, allocations: 12.89 kB / 0.7089 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1886, allocations: 126.3 kB / 0.709 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.1886, allocations: 15.94 kB / 0.709 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1887, allocations: 15.94 kB / 0.709 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.189, allocations: 117.6 kB / 0.7092 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.189, allocations: 0 / 0.7092 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.189, allocations: 4 kB / 0.7092 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.189, allocations: 0 / 0.7092 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.1894, allocations: 143.8 kB / 0.7093 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000964/0.1904, allocations: 419.6 kB / 0.7097 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.1907, allocations: 106.5 kB / 0.7098 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.1909, allocations: 68.81 kB / 0.7099 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.1921, allocations: 480 kB / 0.7103 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1921, allocations: 38.56 kB / 0.7104 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.1921, allocations: 3.938 kB / 0.7104 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0006665/0.1928, allocations: 209.5 kB / 0.7106 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1928, allocations: 51.41 kB / 0.7106 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.193, allocations: 163.2 kB / 0.7108 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.193, allocations: 29.7 kB / 0.7108 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.1931, allocations: 108.4 kB / 0.7109 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.1931, allocations: 47.64 kB / 0.711 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.1932, allocations: 45.7 kB / 0.711 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1934, allocations: 322.8 kB / 0.7113 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.1936, allocations: 83.88 kB / 0.7114 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.1939, allocations: 105.1 kB / 0.7115 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.1943, allocations: 182.1 kB / 0.7117 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1943, allocations: 4 kB / 0.7117 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005651/0.1949, allocations: 245.2 kB / 0.7119 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1949, allocations: 4 kB / 0.7119 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1949, allocations: 4 kB / 0.7119 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.1949, allocations: 0 / 0.7119 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.1952, allocations: 59.98 kB / 0.712 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1952, allocations: 4 kB / 0.712 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1953, allocations: 31.81 kB / 0.712 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.1954, allocations: 4 kB / 0.712 GB, free: 6.934 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.0001287/0.1955, allocations: 129.8 kB / 0.7121 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.1955, allocations: 19.84 kB / 0.7121 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.196, allocations: 170.7 kB / 0.7123 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.196, allocations: 4 kB / 0.7123 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.196, allocations: 0 / 0.7123 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.196, allocations: 3.938 kB / 0.7123 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.1963, allocations: 180.6 kB / 0.7125 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1963, allocations: 3.938 kB / 0.7125 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.1964, allocations: 35.92 kB / 0.7125 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1964, allocations: 0 / 0.7125 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1964, allocations: 0 / 0.7125 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.1965, allocations: 7.984 kB / 0.7125 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1965, allocations: 4 kB / 0.7125 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.1969, allocations: 243.4 kB / 0.7128 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.197, allocations: 27.77 kB / 0.7128 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.197, allocations: 8 kB / 0.7128 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.1971, allocations: 7.984 kB / 0.7128 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.1972, allocations: 15.97 kB / 0.7128 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1972, allocations: 8 kB / 0.7128 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001021/0.1973, allocations: 112 kB / 0.7129 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1973, allocations: 3.938 kB / 0.7129 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000362/0.1977, allocations: 59.88 kB / 0.713 GB, free: 5.836 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.001024/0.1987, allocations: 0.8518 MB / 0.7138 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.1992, allocations: 163.9 kB / 0.714 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1992, allocations: 4 kB / 0.714 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.1994, allocations: 59.95 kB / 0.714 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1998, allocations: 26.31 kB / 0.7141 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.2025, allocations: 1.961 MB / 0.716 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.756e-05/0.2026, allocations: 93.62 kB / 0.7161 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.701e-05/0.2027, allocations: 21.02 kB / 0.7161 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-05/0.2028, allocations: 35.42 kB / 0.7161 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of SimCode: time 6.82e-07/0.2028, allocations: 0 / 0.7161 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.2349, allocations: 4.927 MB / 0.7209 GB, free: 13.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.26, allocations: 2.812 kB / 0.7209 GB, free: 13.74 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: 15.033682253211737] Failed to read output from testmodel.py, exit status != 0: 11.369904639665037 11.393578665 11.201775368 Calling exit ...