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.001243/0.001243, 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.059 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.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.8053/0.8053, allocations: 154.6 MB / 414.9 MB, free: 0.6602 MB / 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.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.913e-06/1.913e-06, allocations: 0 / 0.5203 GB, free: 2.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.995e-05, allocations: 7 kB / 0.5203 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004756/0.004786, allocations: 3.418 MB / 0.5237 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.000103/0.004889, allocations: 56.36 kB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.004923, allocations: 0 / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.005046, allocations: 5.109 kB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.005132, allocations: 11.92 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.005774, allocations: 205.4 kB / 0.5239 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.999e-05/0.005874, allocations: 33.45 kB / 0.524 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.005914, allocations: 0 / 0.524 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.984e-05/0.005973, allocations: 23.97 kB / 0.524 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.006063, allocations: 15.92 kB / 0.524 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.006078, allocations: 0 / 0.524 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.006387, allocations: 136.2 kB / 0.5241 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.006441, allocations: 9.125 kB / 0.5241 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.006467, allocations: 15.97 kB / 0.5242 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.006716, allocations: 130.5 kB / 0.5243 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.006721, allocations: 1.219 kB / 0.5243 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.006722, allocations: 0 / 0.5243 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.006727, allocations: 0 / 0.5243 GB, free: 14.5 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.0004169/0.007144, allocations: 374.5 kB / 0.5246 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.007191, allocations: 12.03 kB / 0.5247 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.007251, allocations: 5.234 kB / 0.5247 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.007351, allocations: 108.6 kB / 0.5248 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.287e-05/0.007424, allocations: 55.97 kB / 0.5248 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.007438, allocations: 8.359 kB / 0.5248 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.00758, allocations: 74.34 kB / 0.5249 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.007587, allocations: 192 / 0.5249 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.007599, allocations: 3.938 kB / 0.5249 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.007628, allocations: 4 kB / 0.5249 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.00766, allocations: 12.48 kB / 0.5249 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.008161, allocations: 292.7 kB / 0.5252 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.16e-05/0.008202, allocations: 27.06 kB / 0.5252 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.00822, allocations: 11.62 kB / 0.5252 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.331e-05/0.008303, allocations: 45.09 kB / 0.5253 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.00833, allocations: 45.27 kB / 0.5253 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.008332, allocations: 0.875 kB / 0.5253 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001498/0.008482, allocations: 37.7 kB / 0.5254 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.008511, allocations: 52.56 kB / 0.5254 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.008599, allocations: 161.9 kB / 0.5256 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.00861, allocations: 25.7 kB / 0.5256 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.008663, allocations: 135.4 kB / 0.5257 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.008669, allocations: 6.766 kB / 0.5257 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.008705, allocations: 23.36 kB / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.008821, allocations: 0.4884 MB / 0.5262 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.008839, allocations: 0 / 0.5262 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.419e-05/0.008863, allocations: 19.38 kB / 0.5262 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.008908, allocations: 31.3 kB / 0.5263 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.008912, allocations: 7.031 kB / 0.5263 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.053e-05/0.008992, allocations: 45.58 kB / 0.5263 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.009007, allocations: 4 kB / 0.5263 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.009015, allocations: 4.266 kB / 0.5263 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.009029, allocations: 0 / 0.5263 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.96e-05/0.009078, allocations: 8 kB / 0.5263 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.009084, allocations: 0 / 0.5263 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.009104, allocations: 5.5 kB / 0.5263 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.009114, allocations: 4 kB / 0.5263 GB, free: 12.18 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.855e-05/0.009183, allocations: 152.6 kB / 0.5265 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.009209, allocations: 11.88 kB / 0.5265 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.009338, allocations: 182.3 kB / 0.5267 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.009e-05/0.009398, allocations: 268.1 kB / 0.5269 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.904e-05/0.009457, allocations: 264.1 kB / 0.5272 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.305e-05/0.00952, allocations: 268 kB / 0.5274 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.009713, allocations: 499.9 kB / 0.5279 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/0.009748, allocations: 152.8 kB / 0.5281 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.00979, allocations: 144.9 kB / 0.5282 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.208e-05/0.009852, allocations: 274.4 kB / 0.5285 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.009913, allocations: 272 kB / 0.5287 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.85e-05/0.009971, allocations: 264.1 kB / 0.529 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.244e-05/0.01003, allocations: 272 kB / 0.5292 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.01018, allocations: 448 kB / 0.5297 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.01023, allocations: 152.8 kB / 0.5298 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.01038, allocations: 269.3 kB / 0.5301 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.01052, allocations: 156.8 kB / 0.5302 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.01059, allocations: 272.1 kB / 0.5305 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.01062, allocations: 150.7 kB / 0.5306 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.01067, allocations: 127.2 kB / 0.5307 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01067, allocations: 0 / 0.5307 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002966/0.01097, allocations: 39.86 kB / 0.5308 GB, free: 7.457 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.0002835/0.01125, allocations: 278.9 kB / 0.531 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.747e-05/0.01134, allocations: 15.69 kB / 0.531 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01134, allocations: 0 / 0.531 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.01134, allocations: 4 kB / 0.5311 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.01176, allocations: 0.7114 MB / 0.5317 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.01229, allocations: 230.9 kB / 0.532 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.715e-05/0.01233, allocations: 55.36 kB / 0.532 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.369e-05/0.01237, allocations: 10.98 kB / 0.532 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.01239, allocations: 8.5 kB / 0.532 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.01239, allocations: 1.75 kB / 0.532 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of Templates: time 0.003916/0.01631, allocations: 1.292 MB / 0.5333 GB, free: 4.973 MB / 0.4948 GB " [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: 4.063668787945062]