Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.0009343/0.0009343, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002447, allocations: 440 kB / 10.41 MB, free: 284 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.001082/0.001082, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.002307, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9541/0.9541, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07794/1.032, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.7805/0.7805, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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.246/1.027, allocations: 49.04 MB / 447.8 MB, free: 6.602 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 449.1 MB, free: 5.316 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.323e-05, allocations: 2.859 kB / 449.1 MB, free: 5.312 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1199/0.12, allocations: 131.1 MB / 0.5666 GB, free: 2.242 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0001499/0.1201, allocations: 47.83 kB / 0.5666 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.1201, allocations: 0 / 0.5666 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 7.583e-05/0.1202, allocations: 7.922 kB / 0.5666 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.1203, allocations: 15.75 kB / 0.5667 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.1209, allocations: 258.8 kB / 0.5669 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.121, allocations: 39.84 kB / 0.5669 GB, free: 1.883 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.121, allocations: 0 / 0.5669 GB, free: 1.883 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.1211, allocations: 27.84 kB / 0.567 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.1211, allocations: 15.98 kB / 0.567 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1211, allocations: 0 / 0.567 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.1214, allocations: 191.4 kB / 0.5672 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.1215, allocations: 4 kB / 0.5672 GB, free: 1.648 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.505e-05/0.1215, allocations: 7.938 kB / 0.5672 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1217, allocations: 155.6 kB / 0.5673 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.255e-05/0.1217, allocations: 0 / 0.5673 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1217, allocations: 0 / 0.5673 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.1217, allocations: 0 / 0.5673 GB, free: 1.488 MB / 0.5417 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.00034/0.1221, allocations: 278.4 kB / 0.5676 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.1221, allocations: 19.97 kB / 0.5676 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.1221, allocations: 0.9375 kB / 0.5676 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.979e-05/0.1222, allocations: 109.8 kB / 0.5677 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.1223, allocations: 51.97 kB / 0.5678 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1223, allocations: 4.375 kB / 0.5678 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.1224, allocations: 83.17 kB / 0.5678 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1224, allocations: 0.6562 kB / 0.5678 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1224, allocations: 4 kB / 0.5679 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.1224, allocations: 4 kB / 0.5679 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.777e-05/0.1224, allocations: 7.984 kB / 0.5679 GB, free: 0.8633 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.1228, allocations: 205.9 kB / 0.5681 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.074e-05/0.1228, allocations: 22.56 kB / 0.5681 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.034e-05/0.1228, allocations: 8.844 kB / 0.5681 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.1228, allocations: 31.98 kB / 0.5681 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.1229, allocations: 30.56 kB / 0.5681 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1229, allocations: 0 / 0.5681 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 8.01e-05/0.1229, allocations: 37.69 kB / 0.5682 GB, free: 500 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.123, allocations: 51.41 kB / 0.5682 GB, free: 436 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.205e-05/0.123, allocations: 114.8 kB / 0.5683 GB, free: 308 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.679e-06/0.123, allocations: 29.64 kB / 0.5684 GB, free: 272 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.1231, allocations: 88.08 kB / 0.5685 GB, free: 180 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-06/0.1231, allocations: 7.938 kB / 0.5685 GB, free: 172 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.1231, allocations: 13.7 kB / 0.5685 GB, free: 152 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.321e-05/0.1232, allocations: 314.8 kB / 0.5688 GB, free: 15.83 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-06/0.1232, allocations: 0 / 0.5688 GB, free: 15.83 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.1232, allocations: 17.7 kB / 0.5688 GB, free: 15.81 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.258e-05/0.1232, allocations: 24.55 kB / 0.5688 GB, free: 15.78 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1232, allocations: 4 kB / 0.5688 GB, free: 15.77 MB / 0.5574 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.566e-05/0.1232, allocations: 45.56 kB / 0.5689 GB, free: 15.72 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1232, allocations: 8 kB / 0.5689 GB, free: 15.71 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1233, allocations: 0 / 0.5689 GB, free: 15.71 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1233, allocations: 0 / 0.5689 GB, free: 15.71 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.348e-05/0.1233, allocations: 11.98 kB / 0.5689 GB, free: 15.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.1233, allocations: 3.938 kB / 0.5689 GB, free: 15.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.109e-05/0.1233, allocations: 0 / 0.5689 GB, free: 15.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1233, allocations: 3.984 kB / 0.5689 GB, free: 15.7 MB / 0.5574 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.582e-05/0.1234, allocations: 120.7 kB / 0.569 GB, free: 15.57 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1234, allocations: 3.938 kB / 0.569 GB, free: 15.56 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.846e-05/0.1235, allocations: 132.9 kB / 0.5691 GB, free: 15.43 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.851e-05/0.1235, allocations: 184.3 kB / 0.5693 GB, free: 15.24 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.559e-05/0.1235, allocations: 180.2 kB / 0.5695 GB, free: 15.05 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.511e-05/0.1236, allocations: 176.3 kB / 0.5697 GB, free: 14.88 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.1237, allocations: 321.4 kB / 0.57 GB, free: 14.54 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/0.1237, allocations: 105 kB / 0.5701 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.1237, allocations: 105 kB / 0.5702 GB, free: 14.32 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.1237, allocations: 104.9 kB / 0.5703 GB, free: 14.21 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.065e-05/0.1238, allocations: 192.2 kB / 0.5704 GB, free: 14.01 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.1238, allocations: 180.2 kB / 0.5706 GB, free: 13.83 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-05/0.1239, allocations: 176.3 kB / 0.5708 GB, free: 13.65 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.721e-05/0.1239, allocations: 180.3 kB / 0.571 GB, free: 13.46 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.514e-05/0.124, allocations: 303.8 kB / 0.5712 GB, free: 13.14 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.124, allocations: 192.4 kB / 0.5714 GB, free: 12.95 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.1241, allocations: 105 kB / 0.5715 GB, free: 12.84 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.1241, allocations: 192.2 kB / 0.5717 GB, free: 12.64 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.1242, allocations: 101 kB / 0.5718 GB, free: 12.54 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 1.489e-05/0.1242, allocations: 8.859 kB / 0.5718 GB, free: 12.53 MB / 0.5574 GB Notification: Performance of sort global known variables: time 5e-08/0.1242, allocations: 4 kB / 0.5718 GB, free: 12.52 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0001789/0.1244, allocations: 59.73 kB / 0.5719 GB, free: 12.46 MB / 0.5574 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.0002248/0.1246, allocations: 231.4 kB / 0.5721 GB, free: 12.23 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 4.902e-05/0.1246, allocations: 12.8 kB / 0.5721 GB, free: 12.21 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1246, allocations: 8.188 kB / 0.5721 GB, free: 12.2 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.1247, allocations: 4 kB / 0.5721 GB, free: 12.2 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.1249, allocations: 0.5172 MB / 0.5726 GB, free: 11.67 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006408/0.1255, allocations: 189.4 kB / 0.5728 GB, free: 11.46 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.917e-05/0.1256, allocations: 55.34 kB / 0.5729 GB, free: 11.39 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.1256, allocations: 12 kB / 0.5729 GB, free: 11.38 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.1257, allocations: 59.36 kB / 0.5729 GB, free: 11.32 MB / 0.5574 GB Notification: Performance of SimCode: time 5.81e-07/0.1257, allocations: 0 / 0.5729 GB, free: 11.32 MB / 0.5574 GB Notification: Performance of Templates: time 0.002727/0.1284, allocations: 1.453 MB / 0.5743 GB, free: 9.871 MB / 0.5574 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.525094027630985]