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.001236/0.001236, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001414/0.001414, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.027/1.027, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.803/0.803, allocations: 154.8 MB / 415.1 MB, free: 480 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.793e-06/1.793e-06, allocations: 0 / 0.5205 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.213e-05, allocations: 6.188 kB / 0.5205 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005636/0.005658, allocations: 4.155 MB / 0.5246 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001657/0.005824, allocations: 156.8 kB / 0.5248 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.00586, allocations: 0.7812 kB / 0.5248 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.005991, allocations: 11.86 kB / 0.5248 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/0.006075, allocations: 9.688 kB / 0.5248 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.006378, allocations: 85.83 kB / 0.5249 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.006464, allocations: 35.84 kB / 0.5249 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.006507, allocations: 0 / 0.5249 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.006559, allocations: 23.97 kB / 0.5249 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/0.006635, allocations: 15.92 kB / 0.5249 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.006648, allocations: 0 / 0.5249 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.006854, allocations: 48.31 kB / 0.525 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.006903, allocations: 17.39 kB / 0.525 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.006923, allocations: 4 kB / 0.525 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.007049, allocations: 63.8 kB / 0.5251 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.007051, allocations: 0 / 0.5251 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007052, allocations: 4.969 kB / 0.5251 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.007056, allocations: 0 / 0.5251 GB, free: 13.69 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.0003459/0.007402, allocations: 357.2 kB / 0.5254 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.007439, allocations: 8.031 kB / 0.5254 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.007489, allocations: 18.14 kB / 0.5254 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.138e-05/0.00758, allocations: 116.5 kB / 0.5255 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.007643, allocations: 55.97 kB / 0.5256 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.007652, allocations: 0.875 kB / 0.5256 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.007771, allocations: 77.34 kB / 0.5257 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.007778, allocations: 1.406 kB / 0.5257 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.007788, allocations: 3.938 kB / 0.5257 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.007812, allocations: 0 / 0.5257 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.875e-05/0.00784, allocations: 19.92 kB / 0.5257 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.008173, allocations: 252.4 kB / 0.5259 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.619e-05/0.008209, allocations: 31.72 kB / 0.526 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.008226, allocations: 12.94 kB / 0.526 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.008265, allocations: 8.062 kB / 0.526 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.008285, allocations: 33.39 kB / 0.526 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.008287, allocations: 2.438 kB / 0.526 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.00012/0.008407, allocations: 41.62 kB / 0.5261 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.008432, allocations: 55.41 kB / 0.5261 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.067e-05/0.008503, allocations: 153.9 kB / 0.5263 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.008514, allocations: 25.7 kB / 0.5263 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.008559, allocations: 142.8 kB / 0.5264 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-06/0.008564, allocations: 6.891 kB / 0.5264 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.008587, allocations: 19.38 kB / 0.5264 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.008688, allocations: 496.1 kB / 0.5269 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.008698, allocations: 7.984 kB / 0.5269 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/0.008718, allocations: 19.38 kB / 0.5269 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.894e-05/0.008747, allocations: 27.31 kB / 0.527 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.008749, allocations: 0.625 kB / 0.527 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.96e-05/0.008798, allocations: 50.91 kB / 0.527 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.00881, allocations: 8 kB / 0.527 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.008814, allocations: 0 / 0.527 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.008826, allocations: 2.625 kB / 0.527 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.501e-05/0.008861, allocations: 4 kB / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.008866, allocations: 0 / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.162e-05/0.008877, allocations: 8 kB / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.008884, allocations: 4 kB / 0.527 GB, free: 11.44 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 5.586e-05/0.00894, allocations: 160.6 kB / 0.5272 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.008955, allocations: 7.891 kB / 0.5272 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.519e-05/0.00905, allocations: 170.4 kB / 0.5274 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-05/0.009104, allocations: 268.1 kB / 0.5276 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.193e-05/0.009155, allocations: 272.1 kB / 0.5279 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.152e-05/0.009207, allocations: 268.1 kB / 0.5281 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.009361, allocations: 499.9 kB / 0.5286 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.402e-05/0.009395, allocations: 152.8 kB / 0.5288 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.009426, allocations: 150.2 kB / 0.5289 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-05/0.009481, allocations: 268 kB / 0.5292 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.432e-05/0.009536, allocations: 268 kB / 0.5294 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.176e-05/0.009587, allocations: 269.3 kB / 0.5297 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.339e-05/0.009641, allocations: 272 kB / 0.5299 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.009756, allocations: 448 kB / 0.5304 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.009795, allocations: 158.4 kB / 0.5305 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.009861, allocations: 268.1 kB / 0.5308 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/0.009957, allocations: 152.8 kB / 0.5309 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.01001, allocations: 268.1 kB / 0.5312 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.01005, allocations: 149.5 kB / 0.5313 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.626e-05/0.01008, allocations: 131.1 kB / 0.5314 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01008, allocations: 0.6562 kB / 0.5314 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001565/0.01024, allocations: 15.94 kB / 0.5314 GB, free: 6.742 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.0001437/0.01038, allocations: 232.5 kB / 0.5317 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.511e-05/0.01045, allocations: 19.69 kB / 0.5317 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01045, allocations: 0 / 0.5317 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.01045, allocations: 0.625 kB / 0.5317 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.01081, allocations: 0.7107 MB / 0.5324 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.0112, allocations: 238.7 kB / 0.5326 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.01123, allocations: 52.58 kB / 0.5327 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.01126, allocations: 12.2 kB / 0.5327 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.01128, allocations: 12.5 kB / 0.5327 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.01128, allocations: 0.9062 kB / 0.5327 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of Templates: time 0.002164/0.01344, allocations: 0.6763 MB / 0.5333 GB, free: 4.781 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.865793948993087]