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.0006528/0.0006528, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008405/0.001493, 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.000725/0.000725, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008706/0.001596, 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 0.9558/0.9558, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09532/1.051, allocations: 53.66 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.7676/0.7676, 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.2811/1.049, allocations: 49.04 MB / 447.6 MB, free: 6.723 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 1.423e-06/1.423e-06, allocations: 0 / 448.9 MB, free: 5.453 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.28e-05, allocations: 4.281 kB / 448.9 MB, free: 5.449 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1289/0.1289, allocations: 131 MB / 0.5663 GB, free: 2.402 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0001254/0.129, allocations: 51.8 kB / 0.5664 GB, free: 2.352 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.323e-05/0.129, allocations: 0 / 0.5664 GB, free: 2.352 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 4.111e-05/0.1291, allocations: 7.938 kB / 0.5664 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 3.878e-05/0.1291, allocations: 23.84 kB / 0.5664 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/0.1297, allocations: 250.8 kB / 0.5666 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 5.447e-05/0.1297, allocations: 39.84 kB / 0.5667 GB, free: 2.035 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 1.974e-05/0.1298, allocations: 7.984 kB / 0.5667 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.1298, allocations: 19.98 kB / 0.5667 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.1298, allocations: 19.86 kB / 0.5667 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.562e-06/0.1298, allocations: 0 / 0.5667 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.1301, allocations: 191.4 kB / 0.5669 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.1301, allocations: 4 kB / 0.5669 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.148e-05/0.1302, allocations: 4 kB / 0.5669 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1304, allocations: 159.6 kB / 0.5671 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.1304, allocations: 0 / 0.5671 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1304, allocations: 0 / 0.5671 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.1304, allocations: 4 kB / 0.5671 GB, free: 1.633 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.0002253/0.1306, allocations: 278.4 kB / 0.5673 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.213e-05/0.1306, allocations: 12.03 kB / 0.5673 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.709e-05/0.1306, allocations: 4.922 kB / 0.5673 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.398e-05/0.1307, allocations: 105.8 kB / 0.5674 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.1307, allocations: 51.97 kB / 0.5675 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.1307, allocations: 4.375 kB / 0.5675 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.93e-05/0.1308, allocations: 83.17 kB / 0.5676 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-06/0.1308, allocations: 0 / 0.5676 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.1308, allocations: 4 kB / 0.5676 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.1308, allocations: 8 kB / 0.5676 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.409e-05/0.1309, allocations: 7.984 kB / 0.5676 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1312, allocations: 202 kB / 0.5678 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 2.644e-05/0.1312, allocations: 22.52 kB / 0.5678 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.344e-06/0.1312, allocations: 4.859 kB / 0.5678 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.1313, allocations: 31.98 kB / 0.5678 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1313, allocations: 34.5 kB / 0.5679 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1313, allocations: 0 / 0.5679 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 7.713e-05/0.1314, allocations: 41.69 kB / 0.5679 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.1314, allocations: 51.41 kB / 0.568 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.303e-05/0.1315, allocations: 114.6 kB / 0.5681 GB, free: 460 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.1315, allocations: 25.7 kB / 0.5681 GB, free: 428 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.1315, allocations: 88.03 kB / 0.5682 GB, free: 336 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-06/0.1315, allocations: 7.938 kB / 0.5682 GB, free: 328 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.1315, allocations: 13.7 kB / 0.5682 GB, free: 308 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.1316, allocations: 318.8 kB / 0.5685 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-06/0.1316, allocations: 0 / 0.5685 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.1316, allocations: 17.72 kB / 0.5685 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/0.1316, allocations: 24.67 kB / 0.5685 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1316, allocations: 4 kB / 0.5686 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.86e-05/0.1317, allocations: 45.56 kB / 0.5686 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.1317, allocations: 4 kB / 0.5686 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1317, allocations: 4 kB / 0.5686 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.1317, allocations: 0 / 0.5686 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.733e-05/0.1317, allocations: 7.984 kB / 0.5686 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.1317, allocations: 0 / 0.5686 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.128e-05/0.1317, allocations: 8.062 kB / 0.5686 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1317, allocations: 3.984 kB / 0.5686 GB, free: 15.84 MB / 0.5573 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.728e-05/0.1318, allocations: 112.7 kB / 0.5687 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.1318, allocations: 7.875 kB / 0.5687 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/0.1319, allocations: 124.9 kB / 0.5689 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/0.1319, allocations: 180.2 kB / 0.569 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.134e-05/0.132, allocations: 184.2 kB / 0.5692 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.852e-05/0.132, allocations: 176.5 kB / 0.5694 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.1321, allocations: 325.4 kB / 0.5697 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/0.1321, allocations: 101 kB / 0.5698 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.1322, allocations: 109 kB / 0.5699 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.1322, allocations: 112.9 kB / 0.57 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.204e-05/0.1322, allocations: 184.2 kB / 0.5702 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.1323, allocations: 184.2 kB / 0.5703 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.924e-05/0.1323, allocations: 176.3 kB / 0.5705 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.851e-05/0.1324, allocations: 176.5 kB / 0.5707 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.611e-05/0.1324, allocations: 319.7 kB / 0.571 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.1325, allocations: 184.1 kB / 0.5712 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.1326, allocations: 105 kB / 0.5713 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1326, allocations: 184.2 kB / 0.5714 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.1326, allocations: 109 kB / 0.5715 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.278e-05/0.1326, allocations: 16.84 kB / 0.5716 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1326, allocations: 0 / 0.5716 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001888/0.1328, allocations: 59.73 kB / 0.5716 GB, free: 12.61 MB / 0.5573 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.0002183/0.133, allocations: 231.4 kB / 0.5718 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 4.166e-05/0.1331, allocations: 16.8 kB / 0.5718 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1331, allocations: 0 / 0.5718 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1331, allocations: 4 kB / 0.5719 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.1333, allocations: 463.7 kB / 0.5723 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/0.134, allocations: 196.9 kB / 0.5725 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.652e-05/0.134, allocations: 55.34 kB / 0.5725 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.134, allocations: 8.125 kB / 0.5725 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.1341, allocations: 63.36 kB / 0.5726 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/0.1341, allocations: 0 / 0.5726 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of Templates: time 0.00265/0.1367, allocations: 1.448 MB / 0.574 GB, free: 10.1 MB / 0.5573 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.683749691583216]