Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.0006837/0.0006837, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001144/0.001827, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001777/0.001777, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002029/0.003806, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9946/0.9946, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.113/1.108, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.7531/0.7531, allocations: 154.6 MB / 398.8 MB, free: 380 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2455/0.9987, allocations: 49.04 MB / 447.8 MB, free: 6.551 MB / 426.7 MB " [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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 449.2 MB, free: 5.234 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.41e-05, allocations: 6.969 kB / 449.2 MB, free: 5.23 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005537/0.005561, allocations: 3.512 MB / 452.7 MB, free: 1.762 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001254/0.005687, allocations: 53.77 kB / 452.7 MB, free: 1.711 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.005707, allocations: 0 / 452.7 MB, free: 1.711 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.216e-05/0.005779, allocations: 5.875 kB / 452.7 MB, free: 1.707 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.005848, allocations: 10.81 kB / 452.7 MB, free: 1.699 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007205/0.006568, allocations: 226.5 kB / 453 MB, free: 1.488 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.513e-05/0.006653, allocations: 36.77 kB / 453 MB, free: 1.453 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.006689, allocations: 0 / 453 MB, free: 1.453 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.006757, allocations: 20.59 kB / 453 MB, free: 1.434 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.006826, allocations: 21.58 kB / 453 MB, free: 1.414 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.006837, allocations: 0 / 453 MB, free: 1.414 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.007101, allocations: 143.5 kB / 453.2 MB, free: 1.273 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.007145, allocations: 11.92 kB / 453.2 MB, free: 1.262 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.368e-05/0.007159, allocations: 4 kB / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.007351, allocations: 108.8 kB / 453.3 MB, free: 1.152 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/0.007363, allocations: 0 / 453.3 MB, free: 1.152 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.007364, allocations: 1.156 kB / 453.3 MB, free: 1.152 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.007375, allocations: 3.938 kB / 453.3 MB, free: 1.148 MB / 426.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.0003268/0.007702, allocations: 262.5 kB / 453.6 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.007733, allocations: 12.75 kB / 453.6 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.007766, allocations: 4.922 kB / 453.6 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.656e-05/0.007842, allocations: 111.3 kB / 453.7 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.007888, allocations: 51.97 kB / 453.7 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.007898, allocations: 4.375 kB / 453.7 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.744e-05/0.007996, allocations: 76.98 kB / 453.8 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.008002, allocations: 1.125 kB / 453.8 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.008009, allocations: 3.938 kB / 453.8 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.008031, allocations: 4 kB / 453.8 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.008049, allocations: 12.61 kB / 453.8 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.00836, allocations: 201.8 kB / 454 MB, free: 340 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.883e-05/0.008389, allocations: 16.61 kB / 454.1 MB, free: 316 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.596e-06/0.008398, allocations: 4.859 kB / 454.1 MB, free: 308 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.008448, allocations: 36.7 kB / 454.1 MB, free: 272 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.008467, allocations: 34.5 kB / 454.1 MB, free: 228 kB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.008468, allocations: 3.312 kB / 454.1 MB, free: 228 kB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.101e-05/0.008549, allocations: 41.62 kB / 454.2 MB, free: 180 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.008569, allocations: 55.41 kB / 454.2 MB, free: 112 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.008632, allocations: 103.5 kB / 454.3 MB, free: 16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.00864, allocations: 25.7 kB / 454.4 MB, free: 15.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.008674, allocations: 88.08 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-06/0.008678, allocations: 7.984 kB / 454.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.008698, allocations: 13.72 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.008761, allocations: 312.1 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-06/0.008766, allocations: 0 / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.008779, allocations: 25.64 kB / 454.8 MB, free: 15.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/0.008802, allocations: 25.73 kB / 454.8 MB, free: 15.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008804, allocations: 0 / 454.8 MB, free: 15.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.892e-05/0.008842, allocations: 46.94 kB / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.008855, allocations: 9.188 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.008858, allocations: 0.5625 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.008868, allocations: 0.625 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.595e-05/0.008904, allocations: 11.98 kB / 454.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.008907, allocations: 0.625 kB / 454.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.008919, allocations: 1.266 kB / 454.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.008927, allocations: 4.938 kB / 454.9 MB, free: 15.4 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.556e-05/0.008972, allocations: 112.6 kB / 455 MB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.008985, allocations: 5.656 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.677e-05/0.009072, allocations: 132.9 kB / 455.1 MB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-05/0.009115, allocations: 180.3 kB / 455.3 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.973e-05/0.009154, allocations: 177.2 kB / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.92e-05/0.009193, allocations: 184.2 kB / 455.7 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.009314, allocations: 317.4 kB / 456 MB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/0.009339, allocations: 109.9 kB / 456.1 MB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.009363, allocations: 105 kB / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.009392, allocations: 106.3 kB / 456.3 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.904e-05/0.009431, allocations: 188.2 kB / 456.5 MB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.00947, allocations: 180.2 kB / 456.6 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.831e-05/0.009508, allocations: 188.2 kB / 456.8 MB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.53e-05/0.009544, allocations: 176.9 kB / 457 MB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.684e-05/0.00963, allocations: 309.2 kB / 457.3 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.009683, allocations: 185.7 kB / 457.5 MB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.009767, allocations: 108.9 kB / 457.6 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.009819, allocations: 188.3 kB / 457.8 MB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.009841, allocations: 102.7 kB / 457.9 MB, free: 12.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.467e-05/0.009856, allocations: 12.8 kB / 457.9 MB, free: 12.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009856, allocations: 0 / 457.9 MB, free: 12.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.01001, allocations: 35.88 kB / 457.9 MB, free: 12.2 MB / 442.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.000206/0.01022, allocations: 215.8 kB / 458.1 MB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.358e-05/0.01026, allocations: 13.73 kB / 458.2 MB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.01027, allocations: 0 / 458.2 MB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.01027, allocations: 1.406 kB / 458.2 MB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.0105, allocations: 0.5147 MB / 458.7 MB, free: 11.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.01115, allocations: 196.9 kB / 458.9 MB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.136e-05/0.01118, allocations: 59.34 kB / 458.9 MB, free: 11.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.328e-05/0.01121, allocations: 7.359 kB / 458.9 MB, free: 11.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.01127, allocations: 60.3 kB / 459 MB, free: 11.07 MB / 442.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01127, allocations: 0 / 459 MB, free: 11.07 MB / 442.7 MB Notification: Performance of Templates: time 0.002554/0.01382, allocations: 1.365 MB / 460.3 MB, free: 9.902 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5529593164101243]