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.001399/0.001399, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001579/0.001579, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.414/1.414, allocations: 230.6 MB / 256.8 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.8399/0.8399, allocations: 134 MB / 447.2 MB, free: 9.922 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",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.001926/0.001926, allocations: 62.25 kB / 0.6193 GB, free: 6.859 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1639, allocations: 85.91 MB / 0.7032 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00693/0.1708, allocations: 4.395 MB / 0.7074 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1721, allocations: 0.7602 MB / 0.7082 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.1722, allocations: 8 kB / 0.7082 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.1723, allocations: 27.78 kB / 0.7082 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.486e-05/0.1724, allocations: 31.7 kB / 0.7082 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.173, allocations: 171.4 kB / 0.7084 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1732, allocations: 175.4 kB / 0.7086 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.1733, allocations: 21.28 kB / 0.7086 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.1735, allocations: 83.69 kB / 0.7087 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1736, allocations: 79.66 kB / 0.7088 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.1736, allocations: 16 kB / 0.7088 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.1739, allocations: 135.8 kB / 0.7089 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.174, allocations: 31.91 kB / 0.7089 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.174, allocations: 55.77 kB / 0.709 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.1744, allocations: 239.2 kB / 0.7092 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1744, allocations: 4 kB / 0.7092 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1744, allocations: 0 / 0.7092 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.1744, allocations: 0 / 0.7092 GB, free: 10.81 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.000903/0.1753, allocations: 413.4 kB / 0.7096 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1754, allocations: 8.031 kB / 0.7096 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.119e-05/0.1754, allocations: 4.188 kB / 0.7096 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.1754, allocations: 42.73 kB / 0.7097 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.1755, allocations: 16.89 kB / 0.7097 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.1756, allocations: 130.1 kB / 0.7098 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1756, allocations: 8 kB / 0.7098 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1757, allocations: 8 kB / 0.7098 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.176, allocations: 121.5 kB / 0.7099 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.176, allocations: 0 / 0.7099 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1761, allocations: 8 kB / 0.7099 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1761, allocations: 0 / 0.7099 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.1765, allocations: 147.9 kB / 0.7101 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1775, allocations: 407.6 kB / 0.7105 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.1779, allocations: 122.4 kB / 0.7106 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.1781, allocations: 64.81 kB / 0.7106 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.1793, allocations: 472 kB / 0.7111 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1793, allocations: 30.56 kB / 0.7111 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.1793, allocations: 4 kB / 0.7111 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007081/0.18, allocations: 216 kB / 0.7113 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.1801, allocations: 51.41 kB / 0.7114 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.1802, allocations: 167.1 kB / 0.7115 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.1803, allocations: 37.69 kB / 0.7116 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.1803, allocations: 104.4 kB / 0.7117 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.1804, allocations: 43.64 kB / 0.7117 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1805, allocations: 53.69 kB / 0.7118 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1807, allocations: 326.8 kB / 0.7121 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.1809, allocations: 67.95 kB / 0.7122 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.1811, allocations: 111.4 kB / 0.7123 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.1815, allocations: 178.1 kB / 0.7124 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1815, allocations: 0 / 0.7124 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005707/0.1821, allocations: 241.3 kB / 0.7127 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1821, allocations: 8 kB / 0.7127 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1821, allocations: 0 / 0.7127 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1821, allocations: 4 kB / 0.7127 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.1824, allocations: 55.91 kB / 0.7127 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.1824, allocations: 3.984 kB / 0.7127 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.1826, allocations: 35.77 kB / 0.7128 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.1826, allocations: 8 kB / 0.7128 GB, free: 6.938 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.0001249/0.1827, allocations: 125.8 kB / 0.7129 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.1828, allocations: 15.84 kB / 0.7129 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.1833, allocations: 171 kB / 0.7131 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1833, allocations: 0 / 0.7131 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1833, allocations: 0 / 0.7131 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1833, allocations: 0 / 0.7131 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.1835, allocations: 188.5 kB / 0.7132 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1835, allocations: 3.938 kB / 0.7133 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.1837, allocations: 31.97 kB / 0.7133 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1837, allocations: 0 / 0.7133 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1837, allocations: 8 kB / 0.7133 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1837, allocations: 0 / 0.7133 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1837, allocations: 0 / 0.7133 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.1842, allocations: 254.6 kB / 0.7135 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.1843, allocations: 27.83 kB / 0.7136 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.1843, allocations: 7.984 kB / 0.7136 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1844, allocations: 15.98 kB / 0.7136 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.1845, allocations: 15.91 kB / 0.7136 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1845, allocations: 4 kB / 0.7136 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.519e-05/0.1846, allocations: 124.8 kB / 0.7137 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1846, allocations: 0 / 0.7137 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003376/0.1849, allocations: 63.86 kB / 0.7138 GB, free: 5.828 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.000927/0.1858, allocations: 0.8371 MB / 0.7146 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004981/0.1863, allocations: 171.7 kB / 0.7148 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1863, allocations: 0 / 0.7148 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.1865, allocations: 59.95 kB / 0.7148 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.0003887/0.1869, allocations: 24.16 kB / 0.7148 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.1896, allocations: 1.964 MB / 0.7168 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.928e-05/0.1897, allocations: 89.56 kB / 0.7168 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.162e-05/0.1898, allocations: 24.91 kB / 0.7169 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.1899, allocations: 35.42 kB / 0.7169 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.1899, allocations: 0 / 0.7169 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.2144, allocations: 4.577 MB / 0.7214 GB, free: 14.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.3, allocations: 11.91 kB / 0.7214 GB, free: 14.08 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 os._exit(0), Time elapsed: 14.865602437988855] Failed to read output from testmodel.py, exit status != 0: 11.456039985991083 11.478127236 11.299809614 Calling exit ...