Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001563/0.001563, allocations: 97.06 kB / 19.65 MB, free: 276 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.001792/0.001792, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7548/0.7548, allocations: 154.9 MB / 414.8 MB, free: 372 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5207 GB, free: 1.793 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.87e-05, allocations: 6.031 kB / 0.5207 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.008306/0.008335, allocations: 3.45 MB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 9.333e-05/0.008428, allocations: 47.8 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.008454, allocations: 0 / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.008572, allocations: 9.688 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.008664, allocations: 11.92 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.009295, allocations: 221.2 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.437e-05/0.009389, allocations: 35.84 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.009429, allocations: 5.344 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.531e-05/0.009484, allocations: 19.97 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.62e-05/0.00957, allocations: 15.92 kB / 0.5244 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.009586, allocations: 0 / 0.5244 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.009877, allocations: 141 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.009929, allocations: 11.98 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.009951, allocations: 7.938 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.01017, allocations: 130.2 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.01017, allocations: 0 / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.01017, allocations: 7.938 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.01018, allocations: 0 / 0.5247 GB, free: 13.7 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.0003591/0.01053, allocations: 372.2 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.01057, allocations: 8.031 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.01063, allocations: 5.281 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.083e-05/0.01071, allocations: 113.1 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-05/0.01077, allocations: 56.53 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.01078, allocations: 1.312 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.0109, allocations: 80.66 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.01091, allocations: 192 / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.01092, allocations: 5.469 kB / 0.5253 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.01094, allocations: 3.984 kB / 0.5253 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.01097, allocations: 8 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009002/0.01187, allocations: 284.8 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.01191, allocations: 35 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.01192, allocations: 13.03 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.044e-05/0.01198, allocations: 35.97 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.01201, allocations: 41.39 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.01201, allocations: 0 / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.01214, allocations: 34.8 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.01216, allocations: 55.41 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.01224, allocations: 162.6 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.01225, allocations: 25.7 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.0123, allocations: 132.1 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.17e-06/0.01231, allocations: 11.89 kB / 0.5261 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.01233, allocations: 27.36 kB / 0.5261 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.01244, allocations: 493.2 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.01245, allocations: 0 / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.01247, allocations: 19.56 kB / 0.5266 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.01251, allocations: 38.55 kB / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01251, allocations: 0 / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.392e-05/0.01256, allocations: 45.73 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.01257, allocations: 4 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.01258, allocations: 7.984 kB / 0.5267 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.01259, allocations: 3.984 kB / 0.5267 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.01263, allocations: 10.91 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01264, allocations: 0 / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.01265, allocations: 4 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.01266, allocations: 0 / 0.5267 GB, free: 11.39 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.099e-05/0.01272, allocations: 152.6 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.01274, allocations: 11.89 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.01284, allocations: 171.7 kB / 0.5271 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.916e-05/0.0129, allocations: 269.5 kB / 0.5273 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.841e-05/0.01297, allocations: 268.1 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.829e-05/0.01302, allocations: 272 kB / 0.5278 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.01319, allocations: 499.9 kB / 0.5283 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/0.01322, allocations: 145.4 kB / 0.5284 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.01326, allocations: 151.1 kB / 0.5286 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.431e-05/0.01332, allocations: 276 kB / 0.5288 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.01339, allocations: 272 kB / 0.5291 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.622e-05/0.01344, allocations: 264.1 kB / 0.5294 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-05/0.0135, allocations: 268.1 kB / 0.5296 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.01365, allocations: 444 kB / 0.53 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.0137, allocations: 167.2 kB / 0.5302 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.01377, allocations: 264.1 kB / 0.5304 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.01388, allocations: 152.9 kB / 0.5306 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.01395, allocations: 272 kB / 0.5309 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.01399, allocations: 144.9 kB / 0.531 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.642e-05/0.01404, allocations: 131.2 kB / 0.5311 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01404, allocations: 0 / 0.5311 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002177/0.01426, allocations: 41.73 kB / 0.5312 GB, free: 6.66 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.0002255/0.01448, allocations: 272.5 kB / 0.5314 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.441e-05/0.01456, allocations: 18.28 kB / 0.5314 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01456, allocations: 4 kB / 0.5314 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-06/0.01456, allocations: 4 kB / 0.5314 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.01489, allocations: 0.7145 MB / 0.5321 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.01529, allocations: 237.4 kB / 0.5324 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.001e-05/0.01532, allocations: 55.36 kB / 0.5324 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.01534, allocations: 9.266 kB / 0.5324 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.797e-05/0.01536, allocations: 8.5 kB / 0.5324 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.01536, allocations: 0 / 0.5324 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of Templates: time 0.003205/0.01857, allocations: 1.408 MB / 0.5338 GB, free: 4.039 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8983403448946774]