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.002429/0.002429, allocations: 85.48 kB / 19.44 MB, free: 344 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.002876/0.002876, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.703/1.703, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 1.337/1.337, allocations: 154.8 MB / 414.4 MB, free: 464 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 178] 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 2.274e-06/2.274e-06, allocations: 0 / 0.5199 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.649e-05/3.876e-05, allocations: 5.562 kB / 0.5199 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.01024/0.01028, allocations: 3.395 MB / 0.5232 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0003085/0.01059, allocations: 59.73 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.01064, allocations: 3.938 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.01085, allocations: 4.953 kB / 0.5232 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.01098, allocations: 0 / 0.5232 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.01245, allocations: 205.8 kB / 0.5234 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.01264, allocations: 35.84 kB / 0.5235 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.75e-05/0.0127, allocations: 4.719 kB / 0.5235 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.01284, allocations: 19.92 kB / 0.5235 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.013, allocations: 16.56 kB / 0.5235 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.01303, allocations: 0.6875 kB / 0.5235 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006918/0.01372, allocations: 135.5 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.471e-05/0.01382, allocations: 9.438 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.01387, allocations: 7.984 kB / 0.5237 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006883/0.01456, allocations: 131.6 kB / 0.5238 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.01456, allocations: 0.7812 kB / 0.5238 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.172e-05/0.01458, allocations: 4 kB / 0.5238 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.01458, allocations: 0.8125 kB / 0.5238 GB, free: 14.32 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.001012/0.0156, allocations: 372.2 kB / 0.5241 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.926e-05/0.01568, allocations: 15.06 kB / 0.5242 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.0158, allocations: 4.938 kB / 0.5242 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.01604, allocations: 108.6 kB / 0.5243 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.01621, allocations: 55.97 kB / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.01624, allocations: 384 / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.01655, allocations: 67.95 kB / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.01657, allocations: 192 / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.0166, allocations: 3.938 kB / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.01665, allocations: 0.5 kB / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.831e-05/0.01675, allocations: 13.02 kB / 0.5244 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.01798, allocations: 299.6 kB / 0.5247 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.0181, allocations: 27.09 kB / 0.5247 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.01816, allocations: 16.25 kB / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.01836, allocations: 44.86 kB / 0.5248 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.673e-05/0.01843, allocations: 33.39 kB / 0.5248 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 2.905e-06/0.01843, allocations: 0.9688 kB / 0.5248 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0003696/0.0188, allocations: 41.64 kB / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/0.01889, allocations: 52.34 kB / 0.5249 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.01912, allocations: 161.9 kB / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.01916, allocations: 30.42 kB / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.01933, allocations: 130.8 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.01934, allocations: 4.984 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/0.01943, allocations: 23.38 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004566/0.01988, allocations: 496.1 kB / 0.5257 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.01992, allocations: 5.219 kB / 0.5257 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.01998, allocations: 19.38 kB / 0.5257 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.02008, allocations: 35.92 kB / 0.5258 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.02008, allocations: 1.656 kB / 0.5258 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001972/0.02028, allocations: 49.58 kB / 0.5258 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.02031, allocations: 4 kB / 0.5258 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.02032, allocations: 0 / 0.5258 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.459e-05/0.02036, allocations: 5.219 kB / 0.5258 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.02046, allocations: 7.984 kB / 0.5258 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.02047, allocations: 0 / 0.5258 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.02051, allocations: 0.7812 kB / 0.5258 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.02054, allocations: 4 kB / 0.5258 GB, free: 12 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 0.0002231/0.02076, allocations: 154.4 kB / 0.526 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.02082, allocations: 7.938 kB / 0.526 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.02114, allocations: 173.6 kB / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002443/0.02138, allocations: 269.6 kB / 0.5264 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002655/0.02165, allocations: 264.1 kB / 0.5267 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002511/0.0219, allocations: 272 kB / 0.5269 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.02247, allocations: 499.9 kB / 0.5274 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001186/0.02258, allocations: 159.5 kB / 0.5275 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.0227, allocations: 144.9 kB / 0.5277 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002424/0.02294, allocations: 272 kB / 0.5279 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/0.02316, allocations: 276 kB / 0.5282 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002225/0.02338, allocations: 264.1 kB / 0.5285 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002407/0.02363, allocations: 272 kB / 0.5287 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.0241, allocations: 436 kB / 0.5291 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.02425, allocations: 160.8 kB / 0.5293 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002674/0.02452, allocations: 270.2 kB / 0.5295 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.02491, allocations: 156.8 kB / 0.5297 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.02514, allocations: 268.1 kB / 0.5299 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.02527, allocations: 144.9 kB / 0.5301 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001425/0.02541, allocations: 131.2 kB / 0.5302 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.02541, allocations: 2.406 kB / 0.5302 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005568/0.02597, allocations: 39.75 kB / 0.5303 GB, free: 7.285 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.0005971/0.02657, allocations: 287.4 kB / 0.5305 GB, free: 7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.02671, allocations: 19.69 kB / 0.5305 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.02671, allocations: 0 / 0.5305 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-06/0.02672, allocations: 0 / 0.5305 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.02773, allocations: 0.7176 MB / 0.5312 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.02827, allocations: 221.6 kB / 0.5315 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.02838, allocations: 62.44 kB / 0.5315 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.435e-05/0.02846, allocations: 6.391 kB / 0.5315 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.0285, allocations: 12.5 kB / 0.5315 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.0285, allocations: 0 / 0.5315 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of Templates: time 0.007494/0.036, allocations: 1.287 MB / 0.5328 GB, free: 4.793 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: 6.5248479570727795]