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.001695/0.001695, allocations: 92.7 kB / 19.44 MB, free: 324 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.002083/0.002083, allocations: 165.3 kB / 22.76 MB, free: 1.652 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.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.231/1.231, allocations: 154.6 MB / 414.1 MB, free: 0.6133 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 178] 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 2.304e-06/2.304e-06, allocations: 0 / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.54e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006336/0.006372, allocations: 3.214 MB / 0.5228 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001476/0.006519, allocations: 60.55 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.006551, allocations: 0 / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.006703, allocations: 4.922 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/0.006801, allocations: 8 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007534/0.007555, allocations: 201.5 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.007664, allocations: 32.97 kB / 0.5231 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.007709, allocations: 4 kB / 0.5231 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.769e-05/0.007776, allocations: 19.92 kB / 0.5231 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.007867, allocations: 16.66 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.007882, allocations: 0 / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.008225, allocations: 140.8 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.008276, allocations: 7.938 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.008309, allocations: 7.984 kB / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.008617, allocations: 130.8 kB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.008622, allocations: 0 / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.008623, allocations: 4 kB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.008628, allocations: 0.625 kB / 0.5234 GB, free: 14.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.0005197/0.009148, allocations: 271 kB / 0.5236 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.009189, allocations: 8.031 kB / 0.5236 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.009249, allocations: 5.781 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.009382, allocations: 113.7 kB / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.091e-05/0.009473, allocations: 58.38 kB / 0.5238 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.009485, allocations: 384 / 0.5238 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.009655, allocations: 63.95 kB / 0.5239 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.009664, allocations: 192 / 0.5239 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.009678, allocations: 7.938 kB / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.009697, allocations: 0 / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.86e-05/0.009756, allocations: 20.77 kB / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.01032, allocations: 244.5 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.047e-05/0.01037, allocations: 15.89 kB / 0.5242 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.01039, allocations: 8.797 kB / 0.5242 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.01051, allocations: 40.02 kB / 0.5242 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.01055, allocations: 39.11 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.01055, allocations: 0 / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001757/0.01073, allocations: 43.12 kB / 0.5243 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.01078, allocations: 51.41 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.01089, allocations: 101.8 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.01091, allocations: 26.2 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.01099, allocations: 92.94 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.583e-06/0.01099, allocations: 3.953 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.01103, allocations: 17.72 kB / 0.5246 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.01121, allocations: 315.5 kB / 0.5249 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.01123, allocations: 4 kB / 0.5249 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.01126, allocations: 18.22 kB / 0.5249 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.641e-05/0.01131, allocations: 27.22 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.01131, allocations: 0 / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001018/0.01141, allocations: 54.44 kB / 0.525 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.01143, allocations: 8 kB / 0.525 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01143, allocations: 3.031 kB / 0.525 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.01145, allocations: 0 / 0.525 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.0115, allocations: 7.984 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01151, allocations: 0 / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.01153, allocations: 8 kB / 0.525 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.01154, allocations: 0 / 0.525 GB, free: 12.87 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.0001055/0.01165, allocations: 109.8 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.01168, allocations: 6.375 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.01183, allocations: 128.9 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/0.01193, allocations: 176.3 kB / 0.5254 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001055/0.01203, allocations: 180.3 kB / 0.5256 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/0.01214, allocations: 184.1 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.01244, allocations: 356.9 kB / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-05/0.01252, allocations: 106.3 kB / 0.5262 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.01258, allocations: 105 kB / 0.5263 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.01268, allocations: 180.2 kB / 0.5264 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.01279, allocations: 184.2 kB / 0.5266 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001041/0.01289, allocations: 181.2 kB / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001085/0.013, allocations: 184.2 kB / 0.527 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.01321, allocations: 301 kB / 0.5273 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.801e-05/0.01329, allocations: 120.8 kB / 0.5274 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.01341, allocations: 176.3 kB / 0.5275 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.0136, allocations: 116 kB / 0.5277 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.0137, allocations: 180.2 kB / 0.5278 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/0.01376, allocations: 105 kB / 0.5279 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.448e-05/0.01383, allocations: 87.22 kB / 0.528 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01383, allocations: 0 / 0.528 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003073/0.01413, allocations: 39.86 kB / 0.528 GB, free: 9.562 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.000366/0.0145, allocations: 235.6 kB / 0.5283 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.015e-05/0.01458, allocations: 9.406 kB / 0.5283 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01458, allocations: 0 / 0.5283 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-06/0.01459, allocations: 4 kB / 0.5283 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.01516, allocations: 464.9 kB / 0.5287 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.01552, allocations: 184 kB / 0.5289 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.013e-05/0.01559, allocations: 56.05 kB / 0.529 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.062e-05/0.01563, allocations: 5.094 kB / 0.529 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.01566, allocations: 13.98 kB / 0.529 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01566, allocations: 0 / 0.529 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of Templates: time 0.004682/0.02034, allocations: 1.287 MB / 0.5302 GB, free: 7.438 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=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.246253306977451]