Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001314/0.001314, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00111/0.00111, allocations: 181 kB / 23.36 MB, free: 1.133 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.059/1.059, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8339/0.8339, allocations: 154.6 MB / 414.8 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.057e-05, allocations: 2.312 kB / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004621/0.004641, allocations: 4.218 MB / 484.2 MB, free: 2.742 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001773/0.004819, allocations: 157 kB / 484.4 MB, free: 2.59 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.004847, allocations: 0.625 kB / 484.4 MB, free: 2.59 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.004975, allocations: 8.547 kB / 484.4 MB, free: 2.582 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.839e-05/0.005064, allocations: 15.86 kB / 484.4 MB, free: 2.566 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.005341, allocations: 89.48 kB / 484.5 MB, free: 2.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.478e-05/0.005426, allocations: 36.47 kB / 484.5 MB, free: 2.445 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.005465, allocations: 4 kB / 484.5 MB, free: 2.441 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.005521, allocations: 20.58 kB / 484.6 MB, free: 2.422 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.005589, allocations: 16.72 kB / 484.6 MB, free: 2.406 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.005601, allocations: 0 / 484.6 MB, free: 2.406 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.005771, allocations: 57.58 kB / 484.6 MB, free: 2.352 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.00581, allocations: 7.938 kB / 484.6 MB, free: 2.344 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.005827, allocations: 11.98 kB / 484.6 MB, free: 2.332 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.005934, allocations: 55.88 kB / 484.7 MB, free: 2.277 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005936, allocations: 0 / 484.7 MB, free: 2.277 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005937, allocations: 0.6562 kB / 484.7 MB, free: 2.277 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.005942, allocations: 0 / 484.7 MB, free: 2.277 MB / 442.7 MB 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.0003029/0.006245, allocations: 241.6 kB / 484.9 MB, free: 2.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.006284, allocations: 8.031 kB / 484.9 MB, free: 2.012 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.00632, allocations: 5.688 kB / 484.9 MB, free: 2.008 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.369e-05/0.006403, allocations: 105.8 kB / 485.1 MB, free: 1.879 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.006459, allocations: 57.56 kB / 485.1 MB, free: 1.812 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.006468, allocations: 5.156 kB / 485.1 MB, free: 1.809 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.006575, allocations: 83.48 kB / 485.2 MB, free: 1.711 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.006582, allocations: 192 / 485.2 MB, free: 1.711 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.00659, allocations: 4.812 kB / 485.2 MB, free: 1.707 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.006612, allocations: 3.984 kB / 485.2 MB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.006631, allocations: 6.672 kB / 485.2 MB, free: 1.699 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.006889, allocations: 166.2 kB / 485.4 MB, free: 1.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.693e-05/0.006915, allocations: 27.42 kB / 485.4 MB, free: 1.484 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.046e-05/0.006926, allocations: 4.859 kB / 485.4 MB, free: 1.477 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.006961, allocations: 5.969 kB / 485.4 MB, free: 1.473 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.006983, allocations: 38.5 kB / 485.4 MB, free: 1.426 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.006984, allocations: 0 / 485.4 MB, free: 1.426 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 9.049e-05/0.007074, allocations: 37.69 kB / 485.5 MB, free: 1.383 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.007097, allocations: 56.09 kB / 485.5 MB, free: 1.316 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.007152, allocations: 106.7 kB / 485.6 MB, free: 1.199 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.007163, allocations: 26.39 kB / 485.7 MB, free: 1.168 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.007199, allocations: 92.02 kB / 485.8 MB, free: 1.074 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/0.007203, allocations: 1.312 kB / 485.8 MB, free: 1.074 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.007234, allocations: 13.72 kB / 485.8 MB, free: 1.055 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.007304, allocations: 314.8 kB / 486.1 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-06/0.007311, allocations: 0.875 kB / 486.1 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.007327, allocations: 21.69 kB / 486.1 MB, free: 0.7109 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.353e-05/0.007351, allocations: 21.64 kB / 486.1 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.007354, allocations: 4 kB / 486.1 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.768e-05/0.007402, allocations: 43.67 kB / 486.2 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.007414, allocations: 9.344 kB / 486.2 MB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007418, allocations: 0 / 486.2 MB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.007429, allocations: 4 kB / 486.2 MB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.247e-05/0.007461, allocations: 8 kB / 486.2 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.007464, allocations: 0.5625 kB / 486.2 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.449e-05/0.007478, allocations: 8.531 kB / 486.2 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.007485, allocations: 4 kB / 486.2 MB, free: 0.6016 MB / 442.7 MB 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 4.842e-05/0.007533, allocations: 118 kB / 486.3 MB, free: 488 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.00755, allocations: 7.938 kB / 486.3 MB, free: 480 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.341e-05/0.007634, allocations: 126.2 kB / 486.4 MB, free: 344 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.936e-05/0.007673, allocations: 176.3 kB / 486.6 MB, free: 160 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.374e-05/0.007727, allocations: 185 kB / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.062e-05/0.007767, allocations: 184.3 kB / 487 MB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.007894, allocations: 322.2 kB / 487.3 MB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/0.007919, allocations: 105 kB / 487.4 MB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.007947, allocations: 109.9 kB / 487.5 MB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.046e-05/0.007987, allocations: 181.7 kB / 487.7 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.008033, allocations: 176.8 kB / 487.9 MB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.204e-05/0.008075, allocations: 184.1 kB / 488 MB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.226e-05/0.008117, allocations: 184.8 kB / 488.2 MB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.984e-05/0.008217, allocations: 301.4 kB / 488.5 MB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.008248, allocations: 105 kB / 488.6 MB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.0083, allocations: 188.2 kB / 488.8 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.008384, allocations: 108.9 kB / 488.9 MB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.008428, allocations: 181 kB / 489.1 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.008453, allocations: 105 kB / 489.2 MB, free: 13.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.584e-05/0.008469, allocations: 14.44 kB / 489.2 MB, free: 13.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008469, allocations: 0 / 489.2 MB, free: 13.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001435/0.008612, allocations: 19.94 kB / 489.2 MB, free: 13.42 MB / 458.7 MB 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.0001346/0.008747, allocations: 172.6 kB / 489.4 MB, free: 13.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.52e-05/0.008802, allocations: 16.8 kB / 489.4 MB, free: 13.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.008805, allocations: 0.5312 kB / 489.4 MB, free: 13.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.008806, allocations: 0 / 489.4 MB, free: 13.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.009036, allocations: 466.1 kB / 489.9 MB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.009374, allocations: 190.7 kB / 490 MB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.023e-05/0.009404, allocations: 55.86 kB / 490.1 MB, free: 12.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.009436, allocations: 14.73 kB / 490.1 MB, free: 12.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.009493, allocations: 55.36 kB / 490.2 MB, free: 12.41 MB / 458.7 MB Notification: Performance of SimCode: time 8.01e-07/0.009494, allocations: 4 kB / 490.2 MB, free: 12.41 MB / 458.7 MB Notification: Performance of Templates: time 0.002461/0.01196, allocations: 0.7247 MB / 490.9 MB, free: 11.72 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.680479757953435]