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.001035/0.001035, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009667/0.0009667, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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.984/0.984, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.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-535:34: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-535:42: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.8237/0.8237, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.367e-05, allocations: 6.188 kB / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004445/0.004468, allocations: 4.144 MB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001526/0.004621, allocations: 155.9 kB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.00465, allocations: 0.7188 kB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.004754, allocations: 7.938 kB / 0.5253 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.004829, allocations: 9.141 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.005141, allocations: 89.97 kB / 0.5254 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.449e-05/0.005215, allocations: 35.84 kB / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.005252, allocations: 0 / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.506e-05/0.005307, allocations: 23.97 kB / 0.5255 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.005373, allocations: 17.64 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.005384, allocations: 0 / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.005543, allocations: 51.8 kB / 0.5255 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.005584, allocations: 11.94 kB / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.0056, allocations: 9.453 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.005711, allocations: 55.88 kB / 0.5256 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.005715, allocations: 4 kB / 0.5256 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005716, allocations: 0 / 0.5256 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.005719, allocations: 4.75 kB / 0.5256 GB, free: 12.94 MB / 0.4948 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.0003121/0.006031, allocations: 364.3 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.006068, allocations: 9.5 kB / 0.526 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.006096, allocations: 5.281 kB / 0.526 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.76e-05/0.006163, allocations: 112.5 kB / 0.5261 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.006212, allocations: 65.25 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-06/0.006219, allocations: 384 / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.73e-05/0.006316, allocations: 76.66 kB / 0.5262 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.006322, allocations: 192 / 0.5262 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.006329, allocations: 4.656 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.006348, allocations: 0 / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.006365, allocations: 9.234 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.00663, allocations: 244.4 kB / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.849e-05/0.006658, allocations: 31 kB / 0.5265 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.081e-05/0.006669, allocations: 14.47 kB / 0.5265 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.006706, allocations: 7.984 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.006728, allocations: 45.33 kB / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.006729, allocations: 0 / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.006853, allocations: 37.62 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.006876, allocations: 54.16 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.006945, allocations: 165.9 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.006956, allocations: 29.7 kB / 0.5268 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.007002, allocations: 130.8 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/0.007006, allocations: 3.953 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.007032, allocations: 19.38 kB / 0.527 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.007136, allocations: 496.1 kB / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/0.007144, allocations: 3.984 kB / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.007162, allocations: 24.3 kB / 0.5275 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/0.007186, allocations: 24.31 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.007188, allocations: 0 / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.15e-05/0.007239, allocations: 50.5 kB / 0.5275 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.007251, allocations: 9.281 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.007255, allocations: 0 / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.007266, allocations: 0 / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.844e-05/0.007295, allocations: 4 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.007298, allocations: 5.562 kB / 0.5276 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.117e-05/0.00731, allocations: 3.938 kB / 0.5276 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.007317, allocations: 3.984 kB / 0.5276 GB, free: 10.71 MB / 0.4948 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 6.142e-05/0.007379, allocations: 161.2 kB / 0.5277 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.007394, allocations: 7.891 kB / 0.5277 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.462e-05/0.007488, allocations: 164.4 kB / 0.5279 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.619e-05/0.007544, allocations: 276.5 kB / 0.5281 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-05/0.0076, allocations: 268.1 kB / 0.5284 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.523e-05/0.007655, allocations: 269.5 kB / 0.5287 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.007811, allocations: 480.5 kB / 0.5291 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.143e-05/0.007843, allocations: 148.9 kB / 0.5293 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.007875, allocations: 151.3 kB / 0.5294 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.542e-05/0.00793, allocations: 272.1 kB / 0.5297 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003102/0.008241, allocations: 264.1 kB / 0.5299 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.338e-05/0.008294, allocations: 272 kB / 0.5302 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-05/0.008345, allocations: 272.1 kB / 0.5304 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.008459, allocations: 444 kB / 0.5309 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.008493, allocations: 148.9 kB / 0.531 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.008554, allocations: 274.9 kB / 0.5313 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.355e-05/0.008647, allocations: 156.8 kB / 0.5314 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.008712, allocations: 268 kB / 0.5317 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.008743, allocations: 148.9 kB / 0.5318 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.034e-05/0.008784, allocations: 135.2 kB / 0.5319 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008784, allocations: 0 / 0.5319 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001581/0.008942, allocations: 15.94 kB / 0.532 GB, free: 6.039 MB / 0.4948 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.0001401/0.009082, allocations: 231.3 kB / 0.5322 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.53e-05/0.009137, allocations: 24.52 kB / 0.5322 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009139, allocations: 0 / 0.5322 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.00914, allocations: 3.906 kB / 0.5322 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.009441, allocations: 0.7101 MB / 0.5329 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.009788, allocations: 233.6 kB / 0.5331 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.976e-05/0.009817, allocations: 55.22 kB / 0.5332 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.009845, allocations: 4 kB / 0.5332 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.009906, allocations: 85.14 kB / 0.5333 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.009907, allocations: 0 / 0.5333 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of Templates: time 0.002198/0.0121, allocations: 0.7512 MB / 0.534 GB, free: 3.934 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.714764184784144]