Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001597/0.001597, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001968/0.001968, allocations: 214.5 kB / 22.24 MB, free: 5.262 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.258/1.258, allocations: 203.8 MB / 0.5041 GB, free: 4.578 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [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.002128/0.002128, allocations: 67.91 kB / 0.7186 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6233/0.6255, allocations: 102 MB / 0.8182 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006171/0.6316, allocations: 3.917 MB / 0.8221 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0002384/0.6319, allocations: 140.7 kB / 0.8222 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.6319, allocations: 1.344 kB / 0.8222 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.632, allocations: 1.5 kB / 0.8222 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.11e-05/0.6321, allocations: 14.28 kB / 0.8222 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.6325, allocations: 85.05 kB / 0.8223 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.6326, allocations: 34.47 kB / 0.8223 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.356e-05/0.6327, allocations: 2.172 kB / 0.8223 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.6328, allocations: 24.69 kB / 0.8224 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.6329, allocations: 9.703 kB / 0.8224 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.6329, allocations: 0.6875 kB / 0.8224 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.6331, allocations: 60.42 kB / 0.8224 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.6331, allocations: 9.266 kB / 0.8224 GB, free: 26 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.6332, allocations: 14.95 kB / 0.8224 GB, free: 26 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.6333, allocations: 60.83 kB / 0.8225 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6334, allocations: 0 / 0.8225 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6334, allocations: 0 / 0.8225 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.6334, allocations: 1.156 kB / 0.8225 GB, free: 25.98 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003955/0.6338, allocations: 261.3 kB / 0.8228 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.6338, allocations: 12.02 kB / 0.8228 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.6338, allocations: 4.781 kB / 0.8228 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/0.6339, allocations: 114.2 kB / 0.8229 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/0.634, allocations: 54.05 kB / 0.8229 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.634, allocations: 1.562 kB / 0.8229 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.6342, allocations: 76.36 kB / 0.823 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6342, allocations: 5.953 kB / 0.823 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.6342, allocations: 0 / 0.823 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.6342, allocations: 1.406 kB / 0.823 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.938e-05/0.6343, allocations: 12.19 kB / 0.823 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.6347, allocations: 213.5 kB / 0.8232 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.246e-05/0.6347, allocations: 20.39 kB / 0.8232 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.6347, allocations: 11.05 kB / 0.8233 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-05/0.6348, allocations: 6.828 kB / 0.8233 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.6348, allocations: 32.94 kB / 0.8233 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.6348, allocations: 0 / 0.8233 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001511/0.6349, allocations: 33.58 kB / 0.8233 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.635, allocations: 56.97 kB / 0.8234 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.437e-05/0.635, allocations: 106.8 kB / 0.8235 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.6351, allocations: 25.7 kB / 0.8235 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.6351, allocations: 86.64 kB / 0.8236 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.453e-06/0.6351, allocations: 9.141 kB / 0.8236 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.6351, allocations: 14.17 kB / 0.8236 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.6352, allocations: 318.2 kB / 0.8239 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.6352, allocations: 7.109 kB / 0.8239 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.6352, allocations: 15.3 kB / 0.8239 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.6353, allocations: 25.52 kB / 0.824 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.6353, allocations: 0 / 0.824 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.896e-05/0.6353, allocations: 46.64 kB / 0.824 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.6353, allocations: 4.578 kB / 0.824 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6353, allocations: 1.188 kB / 0.824 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.6354, allocations: 1.531 kB / 0.824 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-05/0.6354, allocations: 5.125 kB / 0.824 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.6354, allocations: 1.406 kB / 0.824 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.6354, allocations: 10.59 kB / 0.824 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.6354, allocations: 1.406 kB / 0.824 GB, free: 24.42 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 5.218e-05/0.6355, allocations: 122.1 kB / 0.8241 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.6355, allocations: 5.578 kB / 0.8241 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.661e-05/0.6356, allocations: 127.4 kB / 0.8243 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/0.6356, allocations: 182.5 kB / 0.8244 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.661e-05/0.6357, allocations: 176.9 kB / 0.8246 GB, free: 23.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-05/0.6357, allocations: 179.1 kB / 0.8248 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.6358, allocations: 367 kB / 0.8251 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.6358, allocations: 107.6 kB / 0.8252 GB, free: 23.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-05/0.6359, allocations: 106.9 kB / 0.8253 GB, free: 23.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-05/0.6359, allocations: 182.1 kB / 0.8255 GB, free: 22.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.6359, allocations: 178.4 kB / 0.8257 GB, free: 22.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.63e-05/0.6359, allocations: 182.1 kB / 0.8259 GB, free: 22.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.541e-05/0.636, allocations: 186.2 kB / 0.826 GB, free: 22.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.172e-05/0.636, allocations: 307.7 kB / 0.8263 GB, free: 21.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.6361, allocations: 103 kB / 0.8264 GB, free: 21.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.6361, allocations: 187.3 kB / 0.8266 GB, free: 21.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.6362, allocations: 106.2 kB / 0.8267 GB, free: 21.56 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.6363, allocations: 182.5 kB / 0.8269 GB, free: 21.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.6363, allocations: 103.3 kB / 0.827 GB, free: 21.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.354e-05/0.6363, allocations: 86.81 kB / 0.8271 GB, free: 21.19 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6363, allocations: 4 kB / 0.8271 GB, free: 21.19 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002444/0.6366, allocations: 17.05 kB / 0.8271 GB, free: 21.18 MB / 0.6387 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 (0): * Single equations (assignments): 0 * 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.0001605/0.6367, allocations: 188.1 kB / 0.8273 GB, free: 21.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.876e-05/0.6368, allocations: 11.12 kB / 0.8273 GB, free: 21.01 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6368, allocations: 0 / 0.8273 GB, free: 21.01 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.6368, allocations: 1.219 kB / 0.8273 GB, free: 21.01 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.6372, allocations: 464.3 kB / 0.8277 GB, free: 20.56 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.6374, allocations: 186 kB / 0.8279 GB, free: 20.37 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.669e-05/0.6375, allocations: 61.67 kB / 0.828 GB, free: 20.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.262e-05/0.6375, allocations: 9.688 kB / 0.828 GB, free: 20.29 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.6375, allocations: 9.812 kB / 0.828 GB, free: 20.29 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.6375, allocations: 3.938 kB / 0.828 GB, free: 20.28 MB / 0.6387 GB Notification: Performance of Templates: time 0.003378/0.6409, allocations: 0.6628 MB / 0.8286 GB, free: 20.18 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.970270894467831] Failed to read output from testmodel.py, exit status != 0: 0.6497008726000786 0.661809518 0.025712087 Calling exit ...