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.001024/0.001024, allocations: 92.22 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.0009608/0.0009608, allocations: 173 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 0.9613/0.9613, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7484/0.7484, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.793e-06/1.793e-06, allocations: 0 / 0.5203 GB, free: 1.129 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.475e-05, allocations: 6.312 kB / 0.5203 GB, free: 1.121 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00539/0.005425, allocations: 3.442 MB / 0.5237 GB, free: 13.69 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001078/0.005533, allocations: 45.62 kB / 0.5237 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.005564, allocations: 0 / 0.5237 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.005712, allocations: 7.938 kB / 0.5237 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.005819, allocations: 17.34 kB / 0.5238 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006805/0.006499, allocations: 228.8 kB / 0.524 GB, free: 13.4 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.974e-05/0.006599, allocations: 27.86 kB / 0.524 GB, free: 13.37 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.006636, allocations: 0.7188 kB / 0.524 GB, free: 13.37 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.969e-05/0.006705, allocations: 27.91 kB / 0.524 GB, free: 13.34 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.006788, allocations: 12.61 kB / 0.524 GB, free: 13.33 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.006803, allocations: 1.281 kB / 0.524 GB, free: 13.33 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.007146, allocations: 143.5 kB / 0.5242 GB, free: 13.19 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.007203, allocations: 11.98 kB / 0.5242 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.007232, allocations: 8.891 kB / 0.5242 GB, free: 13.17 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.00749, allocations: 127.6 kB / 0.5243 GB, free: 13.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.007494, allocations: 0 / 0.5243 GB, free: 13.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.007495, allocations: 0.5312 kB / 0.5243 GB, free: 13.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.007502, allocations: 3.469 kB / 0.5243 GB, free: 13.05 MB / 458.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.0004495/0.007951, allocations: 372.2 kB / 0.5247 GB, free: 12.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.007996, allocations: 8.031 kB / 0.5247 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.008051, allocations: 4.922 kB / 0.5247 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.008155, allocations: 120.8 kB / 0.5248 GB, free: 12.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.791e-05/0.008233, allocations: 51.97 kB / 0.5249 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.008248, allocations: 8.312 kB / 0.5249 GB, free: 12.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.008406, allocations: 76.66 kB / 0.5249 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.008417, allocations: 4.812 kB / 0.5249 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.00843, allocations: 3.938 kB / 0.5249 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.008459, allocations: 0.5625 kB / 0.5249 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.008495, allocations: 4 kB / 0.525 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.009032, allocations: 300.3 kB / 0.5252 GB, free: 11.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.884e-05/0.00908, allocations: 28 kB / 0.5253 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.009099, allocations: 11.62 kB / 0.5253 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.65e-05/0.009185, allocations: 33.56 kB / 0.5253 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.009217, allocations: 41.39 kB / 0.5253 GB, free: 11.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 2.004e-06/0.009219, allocations: 4 kB / 0.5254 GB, free: 11.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001594/0.009378, allocations: 38.44 kB / 0.5254 GB, free: 11.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.009414, allocations: 51.41 kB / 0.5254 GB, free: 11.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.009514, allocations: 167.7 kB / 0.5256 GB, free: 11.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.009528, allocations: 25.7 kB / 0.5256 GB, free: 11.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.009591, allocations: 134.8 kB / 0.5258 GB, free: 11.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.134e-06/0.009598, allocations: 3.953 kB / 0.5258 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.009633, allocations: 23.38 kB / 0.5258 GB, free: 11.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.009764, allocations: 498.9 kB / 0.5263 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.009778, allocations: 0 / 0.5263 GB, free: 10.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.009802, allocations: 23.36 kB / 0.5263 GB, free: 10.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.009839, allocations: 31.31 kB / 0.5263 GB, free: 10.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.009842, allocations: 0 / 0.5263 GB, free: 10.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.118e-05/0.009923, allocations: 51.5 kB / 0.5264 GB, free: 10.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.009938, allocations: 4 kB / 0.5264 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.009943, allocations: 3.938 kB / 0.5264 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.009959, allocations: 4 kB / 0.5264 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.942e-05/0.01001, allocations: 4.938 kB / 0.5264 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01001, allocations: 0 / 0.5264 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.01003, allocations: 3.938 kB / 0.5264 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.01004, allocations: 4.719 kB / 0.5264 GB, free: 10.72 MB / 458.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 7.686e-05/0.01012, allocations: 157.2 kB / 0.5265 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.01015, allocations: 7.938 kB / 0.5265 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.01028, allocations: 170.7 kB / 0.5267 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.282e-05/0.01035, allocations: 272.3 kB / 0.527 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.024e-05/0.01043, allocations: 268.1 kB / 0.5272 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.616e-05/0.01051, allocations: 268 kB / 0.5275 GB, free: 9.562 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.0107, allocations: 499.9 kB / 0.5279 GB, free: 9.031 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.243e-05/0.01074, allocations: 152.9 kB / 0.5281 GB, free: 8.875 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.01078, allocations: 148.8 kB / 0.5282 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.479e-05/0.01086, allocations: 275.1 kB / 0.5285 GB, free: 8.449 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-05/0.01093, allocations: 272 kB / 0.5288 GB, free: 8.176 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.063e-05/0.01101, allocations: 268.1 kB / 0.529 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-05/0.01109, allocations: 268 kB / 0.5293 GB, free: 7.637 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.01124, allocations: 444 kB / 0.5297 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.0113, allocations: 156.8 kB / 0.5298 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.01138, allocations: 268.1 kB / 0.5301 GB, free: 6.746 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01149, allocations: 156.8 kB / 0.5302 GB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.01154, allocations: 269.9 kB / 0.5305 GB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.01157, allocations: 144.9 kB / 0.5306 GB, free: 6.168 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.363e-05/0.01161, allocations: 135.2 kB / 0.5308 GB, free: 6.035 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01161, allocations: 0 / 0.5308 GB, free: 6.035 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.01188, allocations: 35.81 kB / 0.5308 GB, free: 6 MB / 458.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.0003182/0.0122, allocations: 281.5 kB / 0.5311 GB, free: 5.715 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.329e-05/0.01229, allocations: 19.58 kB / 0.5311 GB, free: 5.695 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01229, allocations: 0 / 0.5311 GB, free: 5.695 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.0123, allocations: 4 kB / 0.5311 GB, free: 5.691 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.01265, allocations: 0.7101 MB / 0.5318 GB, free: 4.977 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.01317, allocations: 237.4 kB / 0.532 GB, free: 4.715 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.01321, allocations: 55.34 kB / 0.5321 GB, free: 4.641 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.323e-05/0.01325, allocations: 10.53 kB / 0.5321 GB, free: 4.633 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.01328, allocations: 8.5 kB / 0.5321 GB, free: 4.625 MB / 458.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01328, allocations: 0 / 0.5321 GB, free: 4.625 MB / 458.7 MB Notification: Performance of Templates: time 0.004241/0.01752, allocations: 1.416 MB / 0.5335 GB, free: 3.359 MB / 458.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.7440752889961004]