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.0007925/0.0007925, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.000785/0.000785, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.9164/0.9164, allocations: 177.1 MB / 203.5 MB, free: 5.734 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-531:686: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-531:694: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.7114/0.7114, allocations: 154.6 MB / 414.5 MB, free: 0.793 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.323e-06/1.323e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.045e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003084/0.003104, allocations: 3.225 MB / 0.6225 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 6.269e-05/0.003167, allocations: 51.8 kB / 0.6225 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.003187, allocations: 0 / 0.6225 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.219e-05/0.00328, allocations: 8 kB / 0.6225 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.003344, allocations: 11.86 kB / 0.6225 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.003753, allocations: 205.6 kB / 0.6227 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.003826, allocations: 35.84 kB / 0.6228 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.23e-05/0.003858, allocations: 11.98 kB / 0.6228 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.501e-05/0.003903, allocations: 11.98 kB / 0.6228 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.003967, allocations: 19.92 kB / 0.6228 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.003978, allocations: 0 / 0.6228 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.004172, allocations: 131.5 kB / 0.6229 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.004215, allocations: 7.984 kB / 0.623 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.004233, allocations: 11.94 kB / 0.623 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.004411, allocations: 131.6 kB / 0.6231 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004413, allocations: 0 / 0.6231 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.212e-06/0.004414, allocations: 0 / 0.6231 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.004418, allocations: 0 / 0.6231 GB, free: 9.27 MB / 0.5886 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.0002986/0.004717, allocations: 280.3 kB / 0.6234 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.004749, allocations: 8.031 kB / 0.6234 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.004782, allocations: 0.9375 kB / 0.6234 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.025e-05/0.004852, allocations: 109.8 kB / 0.6235 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.004908, allocations: 55.95 kB / 0.6235 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.004916, allocations: 4.312 kB / 0.6235 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.005025, allocations: 71.95 kB / 0.6236 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.005031, allocations: 192 / 0.6236 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.005042, allocations: 3.938 kB / 0.6236 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.005057, allocations: 4 kB / 0.6236 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.508e-05/0.005092, allocations: 15.98 kB / 0.6236 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.005457, allocations: 244.5 kB / 0.6239 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.644e-05/0.005494, allocations: 18.52 kB / 0.6239 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.005506, allocations: 12.86 kB / 0.6239 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.163e-05/0.005558, allocations: 35.97 kB / 0.6239 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.005576, allocations: 30.56 kB / 0.6239 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.005577, allocations: 0 / 0.6239 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001053/0.005683, allocations: 29.7 kB / 0.624 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.005707, allocations: 59.53 kB / 0.624 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.005767, allocations: 113.7 kB / 0.6241 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.005776, allocations: 25.7 kB / 0.6242 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.005814, allocations: 96.03 kB / 0.6243 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.005818, allocations: 3.953 kB / 0.6243 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.005842, allocations: 17.7 kB / 0.6243 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.005913, allocations: 310.8 kB / 0.6246 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.005924, allocations: 8 kB / 0.6246 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.005943, allocations: 17.7 kB / 0.6246 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/0.005969, allocations: 25.72 kB / 0.6246 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005971, allocations: 0 / 0.6246 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.865e-05/0.006019, allocations: 53.56 kB / 0.6247 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.00603, allocations: 6.188 kB / 0.6247 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.006035, allocations: 4 kB / 0.6247 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.006044, allocations: 0 / 0.6247 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.517e-05/0.00608, allocations: 4 kB / 0.6247 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.006084, allocations: 0 / 0.6247 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.048e-05/0.006094, allocations: 0 / 0.6247 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.006101, allocations: 4 kB / 0.6247 GB, free: 7.434 MB / 0.5886 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 4.744e-05/0.006149, allocations: 113.9 kB / 0.6248 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.006161, allocations: 11.88 kB / 0.6248 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.217e-05/0.006243, allocations: 124.9 kB / 0.6249 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/0.00628, allocations: 176.3 kB / 0.6251 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.993e-05/0.00632, allocations: 184.2 kB / 0.6253 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.698e-05/0.006357, allocations: 180.3 kB / 0.6254 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.006476, allocations: 356.8 kB / 0.6258 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.006498, allocations: 105 kB / 0.6259 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.00652, allocations: 101 kB / 0.626 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.18e-05/0.006562, allocations: 196.1 kB / 0.6262 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.006601, allocations: 176.3 kB / 0.6263 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.901e-05/0.00664, allocations: 184.2 kB / 0.6265 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.543e-05/0.006675, allocations: 180.3 kB / 0.6267 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.546e-05/0.006761, allocations: 307.8 kB / 0.627 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.006788, allocations: 108.9 kB / 0.6271 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.006838, allocations: 184.2 kB / 0.6273 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.006944, allocations: 112.9 kB / 0.6274 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.006982, allocations: 176.3 kB / 0.6275 GB, free: 4.348 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.007004, allocations: 112.9 kB / 0.6276 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.827e-05/0.007032, allocations: 87.27 kB / 0.6277 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007032, allocations: 4 kB / 0.6277 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001697/0.007202, allocations: 31.88 kB / 0.6278 GB, free: 4.109 MB / 0.5886 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.0002118/0.007414, allocations: 233.3 kB / 0.628 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.485e-05/0.007468, allocations: 11.98 kB / 0.628 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.007471, allocations: 3.938 kB / 0.628 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.007472, allocations: 0 / 0.628 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.007733, allocations: 459.7 kB / 0.6284 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002023/0.007935, allocations: 205.7 kB / 0.6286 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.008036, allocations: 59.34 kB / 0.6287 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.008054, allocations: 12.5 kB / 0.6287 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of SimCode: time 3.5e-07/0.008055, allocations: 4.125 kB / 0.6287 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of Templates: time 0.00186/0.009915, allocations: 1.218 MB / 0.6299 GB, free: 1.871 MB / 0.5886 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: 5.476382133550942] Failed to read output from testmodel.py, exit status != 0: 0.014011327177286148 0.02177708 0.01586749 Calling exit ...