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.0007827/0.0007827, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001913, allocations: 435.8 kB / 10.33 MB, free: 368 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.001121/0.001121, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003356/0.004477, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1014/1.106, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7919/0.7919, allocations: 154.6 MB / 398.5 MB, free: 0.543 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3121/1.104, allocations: 49.04 MB / 447.6 MB, free: 6.734 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.173e-06/1.173e-06, allocations: 0.9844 kB / 448.9 MB, free: 5.445 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.063e-05, allocations: 3.719 kB / 448.9 MB, free: 5.441 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003604/0.003625, allocations: 3.51 MB / 452.4 MB, free: 1.984 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 8.846e-05/0.003713, allocations: 52.55 kB / 452.4 MB, free: 1.934 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.806e-05/0.003732, allocations: 1.516 kB / 452.4 MB, free: 1.934 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.219e-05/0.003794, allocations: 3.938 kB / 452.4 MB, free: 1.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.003849, allocations: 12.61 kB / 452.5 MB, free: 1.922 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.00431, allocations: 220.1 kB / 452.7 MB, free: 1.715 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.004391, allocations: 35.84 kB / 452.7 MB, free: 1.68 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.004429, allocations: 15.56 kB / 452.7 MB, free: 1.668 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.004487, allocations: 16.89 kB / 452.7 MB, free: 1.652 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.004556, allocations: 11.97 kB / 452.8 MB, free: 1.641 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.004567, allocations: 5.188 kB / 452.8 MB, free: 1.637 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.004827, allocations: 147.5 kB / 452.9 MB, free: 1.492 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.00486, allocations: 4 kB / 452.9 MB, free: 1.488 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.004876, allocations: 8.625 kB / 452.9 MB, free: 1.48 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.005052, allocations: 107.7 kB / 453 MB, free: 1.375 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.67e-05/0.005069, allocations: 8.641 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.00507, allocations: 0 / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.005087, allocations: 1.25 kB / 453 MB, free: 1.367 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.0006112/0.005698, allocations: 258.6 kB / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.00573, allocations: 8.031 kB / 453.3 MB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.005759, allocations: 9.703 kB / 453.3 MB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.575e-05/0.005834, allocations: 102.5 kB / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.005884, allocations: 63.91 kB / 453.5 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.005893, allocations: 0.9688 kB / 453.5 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.006004, allocations: 85.95 kB / 453.5 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.006011, allocations: 192 / 453.5 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.006019, allocations: 3.938 kB / 453.6 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.006042, allocations: 3.984 kB / 453.6 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.006064, allocations: 5.062 kB / 453.6 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.0064, allocations: 201.8 kB / 453.8 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.341e-05/0.006434, allocations: 24.8 kB / 453.8 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.929e-06/0.006444, allocations: 4.859 kB / 453.8 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.707e-05/0.006511, allocations: 32.08 kB / 453.8 MB, free: 496 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.006534, allocations: 39.06 kB / 453.9 MB, free: 448 kB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.006535, allocations: 1.656 kB / 453.9 MB, free: 448 kB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.973e-05/0.006625, allocations: 41.62 kB / 453.9 MB, free: 400 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.00665, allocations: 51.41 kB / 453.9 MB, free: 336 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.006706, allocations: 110.7 kB / 454.1 MB, free: 212 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.006716, allocations: 26.95 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.006749, allocations: 84.09 kB / 454.2 MB, free: 92 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-06/0.006752, allocations: 0 / 454.2 MB, free: 92 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.006773, allocations: 14.38 kB / 454.2 MB, free: 72 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.006857, allocations: 322.8 kB / 454.5 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-06/0.006863, allocations: 1.25 kB / 454.5 MB, free: 15.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.425e-05/0.006877, allocations: 15.03 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.006904, allocations: 25.39 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006905, allocations: 0 / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.507e-05/0.00695, allocations: 42.56 kB / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.006964, allocations: 10.41 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.006968, allocations: 0 / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.006977, allocations: 4 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.156e-05/0.007019, allocations: 12.61 kB / 454.6 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.007022, allocations: 4.562 kB / 454.6 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.007036, allocations: 4 kB / 454.6 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.007042, allocations: 4.562 kB / 454.6 MB, free: 15.61 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 5.327e-05/0.007095, allocations: 113.2 kB / 454.7 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.00711, allocations: 7.938 kB / 454.7 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.245e-05/0.007202, allocations: 126.2 kB / 454.9 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-05/0.007241, allocations: 180.2 kB / 455 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.92e-05/0.007281, allocations: 176.8 kB / 455.2 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-05/0.007319, allocations: 180.3 kB / 455.4 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.007451, allocations: 330 kB / 455.7 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/0.007476, allocations: 102.8 kB / 455.8 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.007506, allocations: 105.5 kB / 455.9 MB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.007537, allocations: 113 kB / 456 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.381e-05/0.007581, allocations: 176.3 kB / 456.2 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.007621, allocations: 184.1 kB / 456.4 MB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-05/0.007664, allocations: 185 kB / 456.6 MB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-05/0.007703, allocations: 180.2 kB / 456.7 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.772e-05/0.00779, allocations: 308.9 kB / 457 MB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.007836, allocations: 180.3 kB / 457.2 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.00792, allocations: 113.6 kB / 457.3 MB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.007961, allocations: 185.9 kB / 457.5 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.007982, allocations: 103.3 kB / 457.6 MB, free: 12.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.502e-05/0.007997, allocations: 8.859 kB / 457.6 MB, free: 12.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007997, allocations: 4 kB / 457.6 MB, free: 12.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.008162, allocations: 39.86 kB / 457.6 MB, free: 12.41 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.0001971/0.008359, allocations: 210.9 kB / 457.9 MB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.907e-05/0.008408, allocations: 12.8 kB / 457.9 MB, free: 12.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.008412, allocations: 0 / 457.9 MB, free: 12.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.008413, allocations: 0.75 kB / 457.9 MB, free: 12.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.008631, allocations: 471.7 kB / 458.3 MB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.009287, allocations: 205.5 kB / 458.5 MB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.944e-05/0.009327, allocations: 59.34 kB / 458.6 MB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.562e-05/0.009352, allocations: 5.125 kB / 458.6 MB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.009411, allocations: 56.61 kB / 458.6 MB, free: 11.36 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/0.009412, allocations: 0 / 458.6 MB, free: 11.36 MB / 442.7 MB Notification: Performance of Templates: time 0.002761/0.01217, allocations: 1.368 MB / 460 MB, free: 10.18 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.6767866294831038]