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.0007441/0.0007441, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 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.0007427/0.0007427, allocations: 210.4 kB / 23 MB, free: 2.973 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.9231/0.9231, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.7605/0.7605, allocations: 203.8 MB / 0.5049 GB, free: 10.4 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.0008784/0.0008784, allocations: 72.06 kB / 0.7194 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4468, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003656/0.4504, allocations: 3.903 MB / 0.8228 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001223/0.4506, allocations: 136 kB / 0.8229 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.4506, allocations: 0 / 0.8229 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.338e-05/0.4507, allocations: 8.172 kB / 0.8229 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.361e-05/0.4507, allocations: 17.28 kB / 0.823 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.451, allocations: 78.83 kB / 0.823 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.887e-05/0.4511, allocations: 41.89 kB / 0.8231 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.4511, allocations: 2.562 kB / 0.8231 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.491e-05/0.4512, allocations: 14.81 kB / 0.8231 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.603e-05/0.4512, allocations: 21.94 kB / 0.8231 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.4512, allocations: 1.125 kB / 0.8231 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.4514, allocations: 51.22 kB / 0.8232 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.4514, allocations: 16.14 kB / 0.8232 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.4515, allocations: 10.55 kB / 0.8232 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.4516, allocations: 63.64 kB / 0.8232 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4516, allocations: 0.75 kB / 0.8232 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4516, allocations: 0 / 0.8232 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.4516, allocations: 0 / 0.8232 GB, free: 14.39 MB / 0.6198 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.0003168/0.4519, allocations: 267.9 kB / 0.8235 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.452, allocations: 9.094 kB / 0.8235 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.452, allocations: 2.438 kB / 0.8235 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/0.4521, allocations: 106.7 kB / 0.8236 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.4521, allocations: 53.22 kB / 0.8237 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-06/0.4521, allocations: 5.953 kB / 0.8237 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.4522, allocations: 72.77 kB / 0.8237 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4523, allocations: 0.9062 kB / 0.8237 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4523, allocations: 4.547 kB / 0.8237 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.4523, allocations: 6.656 kB / 0.8238 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.797e-05/0.4523, allocations: 15.94 kB / 0.8238 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.4526, allocations: 210.5 kB / 0.824 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.342e-05/0.4527, allocations: 19.92 kB / 0.824 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/0.4527, allocations: 7.406 kB / 0.824 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.4527, allocations: 6.891 kB / 0.824 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.4527, allocations: 40.06 kB / 0.824 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.4527, allocations: 0 / 0.824 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001098/0.4529, allocations: 33.89 kB / 0.8241 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.4529, allocations: 57.19 kB / 0.8241 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.4529, allocations: 103.5 kB / 0.8242 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.453, allocations: 25.7 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.453, allocations: 90.39 kB / 0.8243 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-06/0.453, allocations: 4.609 kB / 0.8243 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.453, allocations: 14.25 kB / 0.8244 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.4531, allocations: 317.6 kB / 0.8247 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.4531, allocations: 7.844 kB / 0.8247 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.874e-05/0.4531, allocations: 15.27 kB / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.859e-05/0.4532, allocations: 29.36 kB / 0.8247 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4532, allocations: 3.938 kB / 0.8247 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.437e-05/0.4532, allocations: 50.33 kB / 0.8248 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.4532, allocations: 5.25 kB / 0.8248 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4532, allocations: 1.25 kB / 0.8248 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4532, allocations: 1.844 kB / 0.8248 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.79e-05/0.4533, allocations: 8.25 kB / 0.8248 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4533, allocations: 1.922 kB / 0.8248 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.4533, allocations: 5.375 kB / 0.8248 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.4533, allocations: 2.25 kB / 0.8248 GB, free: 12.8 MB / 0.6198 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.124e-05/0.4534, allocations: 116.2 kB / 0.8249 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.4534, allocations: 3.266 kB / 0.8249 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.665e-05/0.4535, allocations: 126.2 kB / 0.825 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-05/0.4535, allocations: 178.1 kB / 0.8252 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-05/0.4535, allocations: 178.2 kB / 0.8254 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.801e-05/0.4536, allocations: 182.4 kB / 0.8255 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.4537, allocations: 359.5 kB / 0.8259 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-05/0.4537, allocations: 107 kB / 0.826 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.4538, allocations: 101.6 kB / 0.8261 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.97e-05/0.4538, allocations: 183.8 kB / 0.8263 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.4538, allocations: 182.4 kB / 0.8264 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.845e-05/0.4539, allocations: 178.2 kB / 0.8266 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.092e-05/0.4539, allocations: 185.3 kB / 0.8268 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.587e-05/0.454, allocations: 315.2 kB / 0.8271 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.4543, allocations: 108.9 kB / 0.8272 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.4543, allocations: 179.1 kB / 0.8273 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.4544, allocations: 109.3 kB / 0.8275 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.4545, allocations: 183.5 kB / 0.8276 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.4545, allocations: 106 kB / 0.8277 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.339e-05/0.4545, allocations: 90.59 kB / 0.8278 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4545, allocations: 4 kB / 0.8278 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001644/0.4547, allocations: 17.67 kB / 0.8278 GB, free: 9.562 MB / 0.6198 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.0001312/0.4548, allocations: 188.3 kB / 0.828 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.854e-05/0.4549, allocations: 7.109 kB / 0.828 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4549, allocations: 0 / 0.828 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.4549, allocations: 4.969 kB / 0.828 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.4552, allocations: 472.1 kB / 0.8285 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.4554, allocations: 210.8 kB / 0.8287 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.4554, allocations: 58.2 kB / 0.8287 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.4555, allocations: 11.08 kB / 0.8287 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.4555, allocations: 3.938 kB / 0.8287 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of Templates: time 0.001698/0.4572, allocations: 0.7195 MB / 0.8294 GB, free: 8.586 MB / 0.6198 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.5905542080290616] Failed to read output from testmodel.py, exit status != 0: 0.4627574561163783 0.47202581499999996 0.018654921 Calling exit ...