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.0007354/0.0007354, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0007238/0.0007238, allocations: 203.2 kB / 23 MB, free: 3.113 MB / 13.93 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 0.8648/0.8648, allocations: 230.6 MB / 256.8 MB, free: 3.473 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7555/0.7555, allocations: 203.8 MB / 0.5049 GB, free: 0.5508 MB / 410.7 MB " [Timeout remaining time 179] 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.0008424/0.0008424, allocations: 67.89 kB / 0.7194 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4291, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004495/0.4336, allocations: 4.137 MB / 0.8231 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001554/0.4338, allocations: 151.3 kB / 0.8233 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.4338, allocations: 1.844 kB / 0.8233 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.4339, allocations: 5.5 kB / 0.8233 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.434, allocations: 17.17 kB / 0.8233 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.4343, allocations: 82.53 kB / 0.8234 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.024e-05/0.4344, allocations: 30.23 kB / 0.8234 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.4345, allocations: 2.609 kB / 0.8234 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.667e-05/0.4345, allocations: 26.45 kB / 0.8234 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.4346, allocations: 10.59 kB / 0.8234 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.4346, allocations: 0.8438 kB / 0.8234 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.4348, allocations: 79.23 kB / 0.8235 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.4348, allocations: 19.12 kB / 0.8235 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.4349, allocations: 10 kB / 0.8235 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.435, allocations: 64.08 kB / 0.8236 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.435, allocations: 1.312 kB / 0.8236 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.305e-06/0.435, allocations: 0 / 0.8236 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.435, allocations: 0 / 0.8236 GB, free: 22.02 MB / 0.6355 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.0003261/0.4354, allocations: 271.4 kB / 0.8238 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4354, allocations: 11.19 kB / 0.8239 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.4355, allocations: 1.562 kB / 0.8239 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.757e-05/0.4355, allocations: 117.5 kB / 0.824 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.903e-05/0.4356, allocations: 54.28 kB / 0.824 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.4356, allocations: 1.406 kB / 0.824 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.4357, allocations: 47.34 kB / 0.8241 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.4357, allocations: 0 / 0.8241 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.4357, allocations: 1.984 kB / 0.8241 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.4358, allocations: 8.188 kB / 0.8241 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.066e-05/0.4358, allocations: 12.52 kB / 0.8241 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.4361, allocations: 226.2 kB / 0.8243 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.084e-05/0.4361, allocations: 21.64 kB / 0.8243 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.368e-05/0.4362, allocations: 14.05 kB / 0.8243 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.4362, allocations: 7.406 kB / 0.8243 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.4362, allocations: 36.03 kB / 0.8244 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.4362, allocations: 0.5 kB / 0.8244 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001136/0.4363, allocations: 37.67 kB / 0.8244 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.4363, allocations: 51.97 kB / 0.8245 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.526e-05/0.4364, allocations: 102.5 kB / 0.8246 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.4364, allocations: 26.52 kB / 0.8246 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/0.4364, allocations: 86.28 kB / 0.8247 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/0.4364, allocations: 9.375 kB / 0.8247 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.4365, allocations: 18.81 kB / 0.8247 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.884e-05/0.4365, allocations: 316.2 kB / 0.825 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.4365, allocations: 8.203 kB / 0.825 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.4365, allocations: 15.03 kB / 0.825 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.743e-05/0.4366, allocations: 25.02 kB / 0.825 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4366, allocations: 4 kB / 0.825 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.873e-05/0.4366, allocations: 41.98 kB / 0.8251 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4366, allocations: 6.641 kB / 0.8251 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4366, allocations: 0.7812 kB / 0.8251 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.4366, allocations: 1.125 kB / 0.8251 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.4367, allocations: 5.109 kB / 0.8251 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.4367, allocations: 4.75 kB / 0.8251 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.4367, allocations: 13.31 kB / 0.8251 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4367, allocations: 2.641 kB / 0.8251 GB, free: 20.44 MB / 0.6355 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 3.65e-05/0.4367, allocations: 117.5 kB / 0.8252 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.4368, allocations: 1.375 kB / 0.8252 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.891e-05/0.4368, allocations: 122.3 kB / 0.8254 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.4369, allocations: 185.9 kB / 0.8255 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/0.4369, allocations: 178.6 kB / 0.8257 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.4369, allocations: 181.8 kB / 0.8259 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.984e-05/0.437, allocations: 383.5 kB / 0.8262 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.437, allocations: 103 kB / 0.8263 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-06/0.437, allocations: 105.4 kB / 0.8264 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/0.437, allocations: 178.9 kB / 0.8266 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.437, allocations: 178.4 kB / 0.8268 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.437e-05/0.437, allocations: 184.8 kB / 0.827 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/0.4371, allocations: 182.6 kB / 0.8271 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.323e-05/0.4371, allocations: 317.7 kB / 0.8274 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.4371, allocations: 112.4 kB / 0.8275 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.4372, allocations: 182.2 kB / 0.8277 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.4372, allocations: 109.9 kB / 0.8278 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.4373, allocations: 182.4 kB / 0.828 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.4373, allocations: 101 kB / 0.8281 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.843e-05/0.4373, allocations: 87.94 kB / 0.8282 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4373, allocations: 0 / 0.8282 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001736/0.4375, allocations: 16.31 kB / 0.8282 GB, free: 17.17 MB / 0.6355 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.0001279/0.4376, allocations: 192.9 kB / 0.8284 GB, free: 17 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.629e-05/0.4377, allocations: 11.42 kB / 0.8284 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4377, allocations: 0 / 0.8284 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.4377, allocations: 0 / 0.8284 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.4379, allocations: 464 kB / 0.8288 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.4381, allocations: 214.1 kB / 0.829 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.932e-05/0.4382, allocations: 0.6786 MB / 0.8297 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.4382, allocations: 10.03 kB / 0.8297 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.4382, allocations: 0 / 0.8297 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of Templates: time 0.001972/0.4402, allocations: 0.7306 MB / 0.8304 GB, free: 15.55 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.832310174126178] Failed to read output from testmodel.py, exit status != 0: 0.4451779518276453 0.45318511499999997 0.016411323000000002 Calling exit ...