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.001395/0.001395, 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.00171/0.00171, allocations: 215.9 kB / 22.25 MB, free: 4.852 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.797 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.8288/0.8288, allocations: 134 MB / 446.4 MB, free: 9.945 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.002092/0.002092, allocations: 71.55 kB / 0.6185 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1735, allocations: 85.91 MB / 0.7024 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006288/0.1798, allocations: 4.402 MB / 0.7067 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1809, allocations: 0.7563 MB / 0.7074 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.181, allocations: 0 / 0.7074 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.1811, allocations: 27.78 kB / 0.7075 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.958e-05/0.1812, allocations: 35.64 kB / 0.7075 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.1817, allocations: 179.4 kB / 0.7077 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1819, allocations: 175.4 kB / 0.7078 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.942e-05/0.182, allocations: 9.297 kB / 0.7078 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.1822, allocations: 83.75 kB / 0.7079 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1823, allocations: 75.66 kB / 0.708 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.1823, allocations: 12 kB / 0.708 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.1826, allocations: 139.8 kB / 0.7081 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.1826, allocations: 31.91 kB / 0.7082 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.1827, allocations: 59.77 kB / 0.7082 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.1831, allocations: 239.2 kB / 0.7084 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1831, allocations: 3.984 kB / 0.7084 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1831, allocations: 0 / 0.7084 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1831, allocations: 0 / 0.7084 GB, free: 10.83 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.0008248/0.1839, allocations: 401.5 kB / 0.7088 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1839, allocations: 16.02 kB / 0.7088 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.184, allocations: 38.75 kB / 0.7089 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.184, allocations: 16.89 kB / 0.7089 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1841, allocations: 134.2 kB / 0.709 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1842, allocations: 11.94 kB / 0.709 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.1842, allocations: 8 kB / 0.709 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.1845, allocations: 113.6 kB / 0.7092 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1845, allocations: 4 kB / 0.7092 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1845, allocations: 4 kB / 0.7092 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1845, allocations: 4 kB / 0.7092 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.1849, allocations: 143.8 kB / 0.7093 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009332/0.1859, allocations: 415.6 kB / 0.7097 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.1861, allocations: 114.1 kB / 0.7098 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.1863, allocations: 68.75 kB / 0.7099 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.1875, allocations: 472 kB / 0.7103 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1875, allocations: 42.5 kB / 0.7104 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1875, allocations: 0 / 0.7104 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0006765/0.1882, allocations: 209.4 kB / 0.7106 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.1882, allocations: 51.41 kB / 0.7106 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1884, allocations: 167.2 kB / 0.7108 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1884, allocations: 33.7 kB / 0.7108 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.1885, allocations: 108.4 kB / 0.7109 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1885, allocations: 43.64 kB / 0.711 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/0.1886, allocations: 45.7 kB / 0.711 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1888, allocations: 326.8 kB / 0.7113 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.189, allocations: 71.94 kB / 0.7114 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.1892, allocations: 111.3 kB / 0.7115 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.1897, allocations: 170.2 kB / 0.7116 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1897, allocations: 0 / 0.7116 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000575/0.1902, allocations: 257.1 kB / 0.7119 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.1903, allocations: 4 kB / 0.7119 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1903, allocations: 4 kB / 0.7119 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1903, allocations: 0 / 0.7119 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.1906, allocations: 59.89 kB / 0.712 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.1906, allocations: 4 kB / 0.712 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.1908, allocations: 31.81 kB / 0.712 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.1908, allocations: 4 kB / 0.712 GB, free: 6.973 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.0001106/0.1909, allocations: 129.9 kB / 0.7121 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.1909, allocations: 15.84 kB / 0.7121 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.1914, allocations: 167 kB / 0.7123 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1914, allocations: 4 kB / 0.7123 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1914, allocations: 0 / 0.7123 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1914, allocations: 3.984 kB / 0.7123 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.1917, allocations: 176.7 kB / 0.7125 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.1917, allocations: 3.938 kB / 0.7125 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.1918, allocations: 43.84 kB / 0.7125 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1918, allocations: 0 / 0.7125 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1918, allocations: 4 kB / 0.7125 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1918, allocations: 0 / 0.7125 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1918, allocations: 4 kB / 0.7125 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.1923, allocations: 255.3 kB / 0.7128 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.1924, allocations: 27.77 kB / 0.7128 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.1924, allocations: 4 kB / 0.7128 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.1925, allocations: 15.98 kB / 0.7128 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.1926, allocations: 3.984 kB / 0.7128 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1926, allocations: 8 kB / 0.7128 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.759e-05/0.1927, allocations: 116.9 kB / 0.7129 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1927, allocations: 0 / 0.7129 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003657/0.193, allocations: 63.86 kB / 0.713 GB, free: 5.871 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.000985/0.194, allocations: 0.8576 MB / 0.7138 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000527/0.1945, allocations: 159.8 kB / 0.714 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1945, allocations: 0 / 0.714 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.1947, allocations: 63.89 kB / 0.714 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.1951, allocations: 20.17 kB / 0.7141 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.1979, allocations: 1.965 MB / 0.716 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.1979, allocations: 89.62 kB / 0.7161 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.1981, allocations: 15.17 kB / 0.7161 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1982, allocations: 39.36 kB / 0.7161 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of SimCode: time 3.6e-07/0.1982, allocations: 0 / 0.7161 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.229, allocations: 4.924 MB / 0.7209 GB, free: 13.78 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.23, allocations: 6.234 kB / 0.7209 GB, free: 13.77 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 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.767330683302134] Failed to read output from testmodel.py, exit status != 0: 11.340109402313828 11.371499 11.182430541 Calling exit ...