Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0009471/0.0009471, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009113/0.0009113, allocations: 165 kB / 23.02 MB, free: 1.551 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.042/1.042, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7944/0.7944, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.5203 GB, free: 2.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.465e-05, allocations: 6.312 kB / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004706/0.004721, allocations: 3.829 MB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001749/0.004896, allocations: 155.4 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.004912, allocations: 4.5 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 8.376e-05/0.004996, allocations: 4 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.005061, allocations: 16.42 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.005344, allocations: 89.08 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.028e-05/0.005414, allocations: 37.25 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.494e-05/0.005439, allocations: 0 / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.005485, allocations: 27.91 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.005541, allocations: 8.922 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.005553, allocations: 4 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.00604, allocations: 209.8 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.006072, allocations: 4 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.006094, allocations: 15.92 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.006216, allocations: 59.81 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.006218, allocations: 0 / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.71e-07/0.006218, allocations: 0 / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.006222, allocations: 3.031 kB / 0.5246 GB, free: 13.79 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.0003073/0.00653, allocations: 360.3 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.006561, allocations: 12.03 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.006599, allocations: 5.234 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.659e-05/0.006676, allocations: 108.6 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.006728, allocations: 51.97 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.00674, allocations: 4.375 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.006849, allocations: 82.14 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.006856, allocations: 4.125 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.006867, allocations: 7.938 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.006885, allocations: 0 / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.501e-05/0.00691, allocations: 8.484 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.007215, allocations: 258.4 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.288e-05/0.007248, allocations: 27 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.007266, allocations: 15.69 kB / 0.5255 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.007305, allocations: 8 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.007327, allocations: 41.31 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.007328, allocations: 4 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001084/0.007436, allocations: 32.14 kB / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.007459, allocations: 51.41 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.007531, allocations: 165.9 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.007543, allocations: 25.7 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.007585, allocations: 134.8 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.00759, allocations: 3.953 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.007622, allocations: 25.06 kB / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.007732, allocations: 0.4884 MB / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.007742, allocations: 0 / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.007765, allocations: 27.5 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.059e-05/0.007796, allocations: 24.41 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007797, allocations: 0.9375 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.373e-05/0.007861, allocations: 53.56 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.007872, allocations: 5.188 kB / 0.5266 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.007876, allocations: 96 / 0.5266 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.007891, allocations: 7.984 kB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.434e-05/0.007926, allocations: 10.42 kB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.007932, allocations: 4 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.007947, allocations: 0 / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.007955, allocations: 4 kB / 0.5266 GB, free: 11.54 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.073e-05/0.008016, allocations: 156.6 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.00804, allocations: 11.89 kB / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.683e-05/0.008137, allocations: 169.7 kB / 0.5269 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-05/0.008207, allocations: 268.1 kB / 0.5272 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.495e-05/0.008272, allocations: 268 kB / 0.5275 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/0.008373, allocations: 268.1 kB / 0.5277 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.008554, allocations: 495.9 kB / 0.5282 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.58e-05/0.00859, allocations: 154.2 kB / 0.5283 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.008629, allocations: 153 kB / 0.5285 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.419e-05/0.008693, allocations: 276 kB / 0.5287 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.008756, allocations: 268.1 kB / 0.529 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.116e-05/0.008817, allocations: 273.3 kB / 0.5293 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.273e-05/0.008879, allocations: 268 kB / 0.5295 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.009009, allocations: 448 kB / 0.5299 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.009049, allocations: 152.8 kB / 0.5301 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.792e-05/0.009127, allocations: 268.7 kB / 0.5303 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.009241, allocations: 149.5 kB / 0.5305 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.009306, allocations: 268.1 kB / 0.5307 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.009342, allocations: 153.4 kB / 0.5309 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.009386, allocations: 128.1 kB / 0.531 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009386, allocations: 0 / 0.531 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002376/0.009624, allocations: 19.94 kB / 0.531 GB, free: 6.84 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.0001388/0.009763, allocations: 231.9 kB / 0.5313 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.046e-05/0.009823, allocations: 23.67 kB / 0.5313 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.009825, allocations: 0.9688 kB / 0.5313 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.009827, allocations: 3.938 kB / 0.5313 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.0102, allocations: 0.7091 MB / 0.532 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.01058, allocations: 234.8 kB / 0.5322 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.01061, allocations: 55.88 kB / 0.5322 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.01064, allocations: 5.906 kB / 0.5323 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.01066, allocations: 12.5 kB / 0.5323 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of SimCode: time 5.1e-07/0.01066, allocations: 0 / 0.5323 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of Templates: time 0.002301/0.01296, allocations: 0.685 MB / 0.5329 GB, free: 4.875 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9171702177263796]