Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001071/0.001071, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001071/0.001071, allocations: 165 kB / 24.17 MB, free: 332 kB / 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.016/1.016, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.923/1.923, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.702e-05, allocations: 3.406 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1261/0.1261, allocations: 130.7 MB / 0.8876 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000148/0.1262, allocations: 47.8 kB / 0.8877 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.1263, allocations: 0 / 0.8877 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.1264, allocations: 7.938 kB / 0.8877 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.621e-05/0.1265, allocations: 11.81 kB / 0.8877 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007476/0.1272, allocations: 262.8 kB / 0.888 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.986e-05/0.1273, allocations: 35.86 kB / 0.888 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.1273, allocations: 0 / 0.888 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.1274, allocations: 19.97 kB / 0.888 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.1275, allocations: 19.92 kB / 0.888 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1275, allocations: 0 / 0.888 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.1278, allocations: 195.3 kB / 0.8882 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.1279, allocations: 0 / 0.8882 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.1279, allocations: 11.98 kB / 0.8882 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.1282, allocations: 179.5 kB / 0.8884 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1282, allocations: 0 / 0.8884 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1282, allocations: 0 / 0.8884 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.1282, allocations: 0 / 0.8884 GB, free: 2.891 MB / 0.8386 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.0002937/0.1285, allocations: 260.4 kB / 0.8886 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1285, allocations: 16.03 kB / 0.8887 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.1285, allocations: 4.938 kB / 0.8887 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.71e-05/0.1286, allocations: 113.7 kB / 0.8888 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.1287, allocations: 51.97 kB / 0.8888 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.1287, allocations: 4.375 kB / 0.8888 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.1288, allocations: 83.22 kB / 0.8889 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.1288, allocations: 0 / 0.8889 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.1288, allocations: 3.938 kB / 0.8889 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.1288, allocations: 0 / 0.8889 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.1288, allocations: 4 kB / 0.8889 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.1292, allocations: 222.1 kB / 0.8891 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.897e-05/0.1292, allocations: 22.58 kB / 0.8891 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.447e-06/0.1292, allocations: 4.859 kB / 0.8891 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.936e-05/0.1293, allocations: 32.02 kB / 0.8892 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.1293, allocations: 38.5 kB / 0.8892 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1293, allocations: 0 / 0.8892 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.358e-05/0.1294, allocations: 29.7 kB / 0.8892 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.1294, allocations: 51.41 kB / 0.8893 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.1295, allocations: 114.8 kB / 0.8894 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.1295, allocations: 25.7 kB / 0.8894 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.1295, allocations: 84.09 kB / 0.8895 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-06/0.1296, allocations: 4 kB / 0.8895 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.1296, allocations: 17.7 kB / 0.8895 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.1297, allocations: 318.8 kB / 0.8898 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-06/0.1297, allocations: 0 / 0.8898 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.1297, allocations: 17.66 kB / 0.8898 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/0.1297, allocations: 20.53 kB / 0.8899 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1297, allocations: 4 kB / 0.8899 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.221e-05/0.1298, allocations: 49.56 kB / 0.8899 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1298, allocations: 6.031 kB / 0.8899 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1298, allocations: 0 / 0.8899 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1298, allocations: 4 kB / 0.8899 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.358e-05/0.1298, allocations: 4 kB / 0.8899 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.1298, allocations: 0 / 0.8899 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.1299, allocations: 7.953 kB / 0.8899 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1299, allocations: 11.94 kB / 0.89 GB, free: 1.105 MB / 0.8386 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 5.526e-05/0.1299, allocations: 112.7 kB / 0.8901 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.13, allocations: 11.92 kB / 0.8901 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.22e-05/0.13, allocations: 112.9 kB / 0.8902 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.922e-05/0.1301, allocations: 180.3 kB / 0.8903 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.453e-05/0.1301, allocations: 188.2 kB / 0.8905 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-05/0.1302, allocations: 184.3 kB / 0.8907 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.1306, allocations: 317.7 kB / 0.891 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.678e-05/0.1306, allocations: 104.9 kB / 0.8911 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.1307, allocations: 105 kB / 0.8912 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.161e-05/0.1307, allocations: 180.2 kB / 0.8914 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.1307, allocations: 188.2 kB / 0.8916 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.162e-05/0.1308, allocations: 176.3 kB / 0.8917 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.573e-05/0.1308, allocations: 192.2 kB / 0.8919 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.844e-05/0.1309, allocations: 307.8 kB / 0.8922 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.1309, allocations: 101 kB / 0.8923 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.131, allocations: 184.2 kB / 0.8925 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1311, allocations: 112.9 kB / 0.8926 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.1311, allocations: 176.3 kB / 0.8928 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.1312, allocations: 108.9 kB / 0.8929 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.693e-05/0.1312, allocations: 8.859 kB / 0.8929 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.1312, allocations: 4 kB / 0.8929 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002564/0.1314, allocations: 59.73 kB / 0.8929 GB, free: 13.88 MB / 0.8542 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.0002554/0.1317, allocations: 235.4 kB / 0.8931 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.754e-05/0.1318, allocations: 12.84 kB / 0.8932 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1318, allocations: 4.125 kB / 0.8932 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.1318, allocations: 3.938 kB / 0.8932 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.132, allocations: 467.8 kB / 0.8936 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.1324, allocations: 190.5 kB / 0.8938 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.406e-05/0.1324, allocations: 59.34 kB / 0.8939 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.816e-05/0.1325, allocations: 12 kB / 0.8939 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.1325, allocations: 59.34 kB / 0.8939 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.1325, allocations: 4 kB / 0.8939 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.003307/0.1358, allocations: 1.425 MB / 0.8953 GB, free: 11.37 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.09310978744179]