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.001522/0.001522, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001797/0.001797, allocations: 216.9 kB / 23.01 MB, free: 4.605 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.8547/0.8547, allocations: 134 MB / 447.2 MB, free: 10.29 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: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [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.002348/0.002348, allocations: 65.03 kB / 0.6198 GB, free: 6.785 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.186, allocations: 85.91 MB / 0.7037 GB, free: 0.9531 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.008056/0.1941, allocations: 4.69 MB / 0.7083 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1954, allocations: 0.8186 MB / 0.7091 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1955, allocations: 4 kB / 0.7091 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.1957, allocations: 27.83 kB / 0.7091 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1958, allocations: 35.64 kB / 0.7091 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006909/0.1965, allocations: 175.4 kB / 0.7093 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.1968, allocations: 171.4 kB / 0.7094 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1969, allocations: 29.2 kB / 0.7095 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.1972, allocations: 75.7 kB / 0.7095 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1974, allocations: 83.66 kB / 0.7096 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.1974, allocations: 20 kB / 0.7096 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000453/0.1979, allocations: 155.8 kB / 0.7098 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.1979, allocations: 27.91 kB / 0.7098 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.481e-05/0.198, allocations: 71.66 kB / 0.7099 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.1985, allocations: 247.2 kB / 0.7101 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1985, allocations: 0 / 0.7101 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.394e-06/0.1985, allocations: 0 / 0.7101 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.1986, allocations: 0 / 0.7101 GB, free: 10.31 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.001097/0.1997, allocations: 405.5 kB / 0.7105 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1997, allocations: 12.03 kB / 0.7105 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.134e-05/0.1998, allocations: 8.891 kB / 0.7105 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.1999, allocations: 130.3 kB / 0.7107 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.2, allocations: 12.12 kB / 0.7107 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.2, allocations: 12 kB / 0.7107 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.2003, allocations: 121.6 kB / 0.7108 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2003, allocations: 0 / 0.7108 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2004, allocations: 0 / 0.7108 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2004, allocations: 4 kB / 0.7108 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004264/0.2008, allocations: 143.8 kB / 0.7109 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.2019, allocations: 443.5 kB / 0.7114 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.2022, allocations: 118.5 kB / 0.7115 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.2024, allocations: 68.8 kB / 0.7115 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.2036, allocations: 488 kB / 0.712 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.2037, allocations: 46.44 kB / 0.712 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.2037, allocations: 0 / 0.712 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.00069/0.2044, allocations: 217.4 kB / 0.7123 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.2044, allocations: 51.41 kB / 0.7123 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.2046, allocations: 163.2 kB / 0.7125 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.2046, allocations: 33.7 kB / 0.7125 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.2047, allocations: 108.4 kB / 0.7126 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.2048, allocations: 39.66 kB / 0.7126 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-05/0.2049, allocations: 53.69 kB / 0.7127 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.205, allocations: 318.8 kB / 0.713 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.2052, allocations: 75.95 kB / 0.7131 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.2055, allocations: 111.3 kB / 0.7132 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.2059, allocations: 174.3 kB / 0.7133 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2059, allocations: 0 / 0.7133 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005863/0.2065, allocations: 245.3 kB / 0.7136 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2065, allocations: 7.938 kB / 0.7136 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2066, allocations: 0 / 0.7136 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2066, allocations: 8.094 kB / 0.7136 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.2069, allocations: 55.89 kB / 0.7136 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2069, allocations: 4 kB / 0.7136 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.207, allocations: 31.77 kB / 0.7137 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.2071, allocations: 12 kB / 0.7137 GB, free: 6.445 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.0001114/0.2072, allocations: 121.8 kB / 0.7138 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.2072, allocations: 19.84 kB / 0.7138 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.2077, allocations: 178.3 kB / 0.714 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2077, allocations: 0 / 0.714 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2077, allocations: 4 kB / 0.714 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2077, allocations: 0 / 0.714 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.208, allocations: 188.6 kB / 0.7142 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.208, allocations: 0 / 0.7142 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.2081, allocations: 35.86 kB / 0.7142 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2081, allocations: 4 kB / 0.7142 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2082, allocations: 4 kB / 0.7142 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2082, allocations: 0 / 0.7142 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2082, allocations: 3.984 kB / 0.7142 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.2087, allocations: 255.4 kB / 0.7145 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.2087, allocations: 27.77 kB / 0.7145 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.2087, allocations: 4 kB / 0.7145 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.2089, allocations: 15.98 kB / 0.7145 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.2089, allocations: 15.97 kB / 0.7145 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.2089, allocations: 0 / 0.7145 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.77e-05/0.209, allocations: 120.9 kB / 0.7146 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.209, allocations: 0 / 0.7146 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003672/0.2094, allocations: 59.88 kB / 0.7147 GB, free: 5.336 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.0003223/0.2097, allocations: 158.1 kB / 0.7148 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005288/0.2103, allocations: 163.8 kB / 0.715 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2103, allocations: 0 / 0.715 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.2104, allocations: 59.89 kB / 0.7151 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.2108, allocations: 38.33 kB / 0.7151 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.2114, allocations: 278.4 kB / 0.7154 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.2118, allocations: 0.7045 MB / 0.716 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.2119, allocations: 19.44 kB / 0.7161 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.2119, allocations: 0 / 0.7161 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of Templates: time 0.005635/0.2175, allocations: 2.564 MB / 0.7186 GB, free: 1.32 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.286822612164542] Failed to read output from testmodel.py, exit status != 0: 0.22710800310596824 0.24407781199999995 0.042077753 Calling exit ...