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.0007789/0.0007789, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001922, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00101/0.00101, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.00205, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.003/1.003, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08548/1.088, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.7998/0.7998, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2935/1.093, allocations: 49.04 MB / 447.6 MB, free: 6.699 MB / 426.7 MB " [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.452e-06/1.452e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.438 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.531e-05, allocations: 10.36 kB / 448.9 MB, free: 5.43 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005825/0.005851, allocations: 3.902 MB / 452.8 MB, free: 1.578 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002139/0.006065, allocations: 163.5 kB / 452.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.006087, allocations: 0 / 452.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.161e-05/0.006149, allocations: 4.875 kB / 452.9 MB, free: 1.418 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.557e-05/0.006214, allocations: 15.47 kB / 452.9 MB, free: 1.406 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.006487, allocations: 87.39 kB / 453 MB, free: 1.324 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.28e-05/0.00658, allocations: 39.84 kB / 453.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.006619, allocations: 0.9062 kB / 453.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.416e-05/0.006703, allocations: 23.97 kB / 453.1 MB, free: 1.262 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.006784, allocations: 16.98 kB / 453.1 MB, free: 1.246 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.006799, allocations: 0 / 453.1 MB, free: 1.246 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006148/0.007413, allocations: 199.9 kB / 453.3 MB, free: 1.055 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.007452, allocations: 4.562 kB / 453.3 MB, free: 1.051 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.007474, allocations: 11.94 kB / 453.3 MB, free: 1.039 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.007629, allocations: 53.3 kB / 453.4 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.032e-05/0.00765, allocations: 0 / 453.4 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.007651, allocations: 0 / 453.4 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.007671, allocations: 0 / 453.4 MB, free: 0.9883 MB / 426.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.0003928/0.008063, allocations: 239.4 kB / 453.6 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.008102, allocations: 13.56 kB / 453.6 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.008138, allocations: 2.109 kB / 453.6 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.008238, allocations: 117.7 kB / 453.7 MB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.008306, allocations: 51.97 kB / 453.8 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.008319, allocations: 5.219 kB / 453.8 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.008452, allocations: 79.42 kB / 453.9 MB, free: 432 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.00846, allocations: 1.156 kB / 453.9 MB, free: 432 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.00847, allocations: 3.938 kB / 453.9 MB, free: 428 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.008501, allocations: 5.938 kB / 453.9 MB, free: 424 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/0.008531, allocations: 7.984 kB / 453.9 MB, free: 416 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.008847, allocations: 162.5 kB / 454 MB, free: 236 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.037e-05/0.008888, allocations: 25.86 kB / 454.1 MB, free: 204 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.205e-05/0.0089, allocations: 8.859 kB / 454.1 MB, free: 192 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-05/0.008949, allocations: 12.09 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.008976, allocations: 38.5 kB / 454.1 MB, free: 132 kB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.008977, allocations: 0 / 454.1 MB, free: 132 kB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001125/0.00909, allocations: 29.7 kB / 454.2 MB, free: 96 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.009121, allocations: 51.41 kB / 454.2 MB, free: 32 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.009211, allocations: 115.5 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.009225, allocations: 26.27 kB / 454.3 MB, free: 15.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.009267, allocations: 89.28 kB / 454.4 MB, free: 15.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/0.009272, allocations: 0 / 454.4 MB, free: 15.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.009305, allocations: 21.7 kB / 454.5 MB, free: 15.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.009403, allocations: 318.8 kB / 454.8 MB, free: 15.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.00941, allocations: 0.75 kB / 454.8 MB, free: 15.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.009429, allocations: 14.34 kB / 454.8 MB, free: 15.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.009467, allocations: 25.16 kB / 454.8 MB, free: 15.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.00947, allocations: 0.625 kB / 454.8 MB, free: 15.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.132e-05/0.009541, allocations: 42.25 kB / 454.8 MB, free: 15.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.009556, allocations: 8.562 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.009563, allocations: 4 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.009572, allocations: 0.625 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.297e-05/0.009615, allocations: 4 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.009618, allocations: 0.9375 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.009639, allocations: 8 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.009648, allocations: 5.547 kB / 454.9 MB, free: 15.31 MB / 442.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 6.35e-05/0.009712, allocations: 116.7 kB / 455 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.009737, allocations: 11.86 kB / 455 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.009842, allocations: 125.9 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-05/0.009893, allocations: 180.3 kB / 455.3 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.216e-05/0.009945, allocations: 189.2 kB / 455.5 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-05/0.009993, allocations: 176.3 kB / 455.7 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.01017, allocations: 325.4 kB / 456 MB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-05/0.0102, allocations: 101.5 kB / 456.1 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.01023, allocations: 106.3 kB / 456.2 MB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.01027, allocations: 108.9 kB / 456.3 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.921e-05/0.01032, allocations: 176.3 kB / 456.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.01038, allocations: 189.2 kB / 456.6 MB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.024e-05/0.01043, allocations: 178 kB / 456.8 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.056e-05/0.01048, allocations: 180.2 kB / 457 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.0106, allocations: 307.8 kB / 457.3 MB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.01066, allocations: 180.2 kB / 457.5 MB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.01078, allocations: 114.6 kB / 457.6 MB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.01084, allocations: 180.2 kB / 457.8 MB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.01088, allocations: 105 kB / 457.9 MB, free: 12.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.164e-05/0.0109, allocations: 12.84 kB / 457.9 MB, free: 12.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0109, allocations: 0 / 457.9 MB, free: 12.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.01114, allocations: 20.59 kB / 457.9 MB, free: 12.14 MB / 442.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.0002098/0.01134, allocations: 173.6 kB / 458.1 MB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.869e-05/0.01142, allocations: 16.8 kB / 458.1 MB, free: 11.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.01143, allocations: 0 / 458.1 MB, free: 11.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.01143, allocations: 4 kB / 458.1 MB, free: 11.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.01179, allocations: 464.5 kB / 458.5 MB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.0129, allocations: 193.8 kB / 458.7 MB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.591e-05/0.01295, allocations: 55.34 kB / 458.8 MB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.702e-05/0.013, allocations: 5.344 kB / 458.8 MB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.904e-05/0.0131, allocations: 68.72 kB / 458.9 MB, free: 11.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.232e-06/0.0131, allocations: 0 / 458.9 MB, free: 11.12 MB / 442.7 MB Notification: Performance of Templates: time 0.003333/0.01644, allocations: 0.7796 MB / 459.6 MB, free: 10.4 MB / 442.7 MB " [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.553382858633995]