Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.0009925/0.0009925, allocations: 93.06 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.0009858/0.0009858, allocations: 169 kB / 23.02 MB, free: 1.543 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.9575/0.9575, allocations: 177.1 MB / 203.4 MB, free: 5.582 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.7706/0.7706, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5203 GB, free: 2.246 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.775e-05, allocations: 6.25 kB / 0.5203 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004561/0.004589, allocations: 4.155 MB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.004739, allocations: 160.2 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.004764, allocations: 0.9688 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.004869, allocations: 11.86 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.004942, allocations: 9.422 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.005248, allocations: 92.39 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.005322, allocations: 36.62 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.005354, allocations: 0 / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/0.005403, allocations: 23.05 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.005478, allocations: 19.91 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.005492, allocations: 0 / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.005671, allocations: 51.81 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.005717, allocations: 11.92 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.005738, allocations: 7.984 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.005861, allocations: 59.88 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005865, allocations: 0 / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.005866, allocations: 0.5 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.00587, allocations: 0.75 kB / 0.5248 GB, free: 13.62 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.0003388/0.006209, allocations: 364.3 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.006245, allocations: 8.875 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.006289, allocations: 13.17 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.735e-05/0.006366, allocations: 109.5 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.006434, allocations: 55.97 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.006443, allocations: 1.094 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.006564, allocations: 76.66 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.006571, allocations: 1.125 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.006584, allocations: 11.92 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.006608, allocations: 0.5 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.006633, allocations: 7.984 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.00697, allocations: 264.8 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.454e-05/0.007004, allocations: 27.06 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.007023, allocations: 12.84 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.007066, allocations: 4.062 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.007088, allocations: 37.39 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.007089, allocations: 0.625 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.007207, allocations: 43.19 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.007231, allocations: 55.41 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.007301, allocations: 165.9 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.007312, allocations: 29.14 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.007355, allocations: 130.8 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-06/0.00736, allocations: 7.953 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.007386, allocations: 23.38 kB / 0.5262 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.007485, allocations: 496.1 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.007495, allocations: 0 / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.007514, allocations: 19.38 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.007547, allocations: 35.31 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.007549, allocations: 2.844 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.439e-05/0.007604, allocations: 49.62 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.007616, allocations: 4 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007621, allocations: 4 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.007632, allocations: 0 / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.963e-05/0.007672, allocations: 7.938 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.007677, allocations: 5.547 kB / 0.5268 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.00769, allocations: 4 kB / 0.5268 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.007699, allocations: 0 / 0.5268 GB, free: 11.37 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 6.228e-05/0.007762, allocations: 152.6 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.007777, allocations: 17.11 kB / 0.527 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.007887, allocations: 167.3 kB / 0.5271 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-05/0.007946, allocations: 272 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.234e-05/0.007998, allocations: 266.8 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.296e-05/0.008051, allocations: 272.2 kB / 0.5279 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.008209, allocations: 0.492 MB / 0.5284 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/0.008239, allocations: 144.9 kB / 0.5285 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.008272, allocations: 148.8 kB / 0.5287 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.846e-05/0.00833, allocations: 272 kB / 0.5289 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/0.00839, allocations: 268 kB / 0.5292 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.969e-05/0.00845, allocations: 274.4 kB / 0.5294 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.358e-05/0.008504, allocations: 268.1 kB / 0.5297 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.008625, allocations: 444 kB / 0.5301 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.008668, allocations: 156.8 kB / 0.5303 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/0.008736, allocations: 272.1 kB / 0.5305 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.008836, allocations: 148.9 kB / 0.5307 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.008896, allocations: 270.1 kB / 0.5309 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.008934, allocations: 144.9 kB / 0.5311 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.457e-05/0.008978, allocations: 135.2 kB / 0.5312 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008979, allocations: 0 / 0.5312 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001686/0.009147, allocations: 19.94 kB / 0.5312 GB, free: 6.668 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.0001609/0.009308, allocations: 230.9 kB / 0.5314 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.009655, allocations: 24.48 kB / 0.5314 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.009657, allocations: 0 / 0.5314 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.009658, allocations: 0.6562 kB / 0.5314 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.009978, allocations: 0.7115 MB / 0.5321 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.01039, allocations: 234.7 kB / 0.5324 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.187e-05/0.01043, allocations: 55.34 kB / 0.5324 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.147e-05/0.01046, allocations: 4.906 kB / 0.5324 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.01048, allocations: 13.16 kB / 0.5324 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of SimCode: time 1.332e-06/0.01048, allocations: 0.75 kB / 0.5324 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of Templates: time 0.002421/0.0129, allocations: 0.7178 MB / 0.5331 GB, free: 4.668 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.659967099316418]