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.001329/0.001329, 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.001094/0.001094, allocations: 161.4 kB / 24.16 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 0.972/0.972, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.839/1.839, allocations: 377.9 MB / 0.624 GB, free: 8.305 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.645 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.271e-05, allocations: 6.25 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1242/0.1243, allocations: 130.6 MB / 0.8875 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001373/0.1244, allocations: 51.75 kB / 0.8876 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.1244, allocations: 0 / 0.8876 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.1245, allocations: 3.828 kB / 0.8876 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.1246, allocations: 11.97 kB / 0.8876 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007022/0.1253, allocations: 266.7 kB / 0.8879 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.302e-05/0.1254, allocations: 35.84 kB / 0.8879 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.1254, allocations: 4 kB / 0.8879 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.1255, allocations: 19.92 kB / 0.8879 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.1255, allocations: 15.97 kB / 0.8879 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1255, allocations: 0 / 0.8879 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.1258, allocations: 179.4 kB / 0.8881 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.1259, allocations: 8 kB / 0.8881 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.1259, allocations: 11.92 kB / 0.8881 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1261, allocations: 183.5 kB / 0.8883 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1261, allocations: 0 / 0.8883 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1261, allocations: 3.938 kB / 0.8883 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.1261, allocations: 0 / 0.8883 GB, free: 2.926 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.0002651/0.1264, allocations: 252.4 kB / 0.8885 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.1264, allocations: 12.03 kB / 0.8886 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.1264, allocations: 8.922 kB / 0.8886 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.477e-05/0.1265, allocations: 105.7 kB / 0.8887 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.1265, allocations: 59.97 kB / 0.8887 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1266, allocations: 384 / 0.8887 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1267, allocations: 83.22 kB / 0.8888 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-06/0.1267, allocations: 4 kB / 0.8888 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.1267, allocations: 0 / 0.8888 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.1267, allocations: 3.984 kB / 0.8888 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.1267, allocations: 4 kB / 0.8888 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.1271, allocations: 222.1 kB / 0.889 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.822e-05/0.1271, allocations: 18.58 kB / 0.889 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.035e-05/0.1271, allocations: 8.859 kB / 0.8891 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.1271, allocations: 39.95 kB / 0.8891 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.1272, allocations: 30.56 kB / 0.8891 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1272, allocations: 0 / 0.8891 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 8.646e-05/0.1272, allocations: 37.64 kB / 0.8892 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.1273, allocations: 51.53 kB / 0.8892 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.084e-05/0.1273, allocations: 106.7 kB / 0.8893 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.1273, allocations: 25.7 kB / 0.8893 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.1274, allocations: 92.08 kB / 0.8894 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-06/0.1274, allocations: 0 / 0.8894 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.1274, allocations: 21.7 kB / 0.8894 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.1275, allocations: 314.8 kB / 0.8897 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.1275, allocations: 4 kB / 0.8897 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.477e-05/0.1275, allocations: 13.72 kB / 0.8898 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.1275, allocations: 24.47 kB / 0.8898 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1275, allocations: 4 kB / 0.8898 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.473e-05/0.1276, allocations: 37.64 kB / 0.8898 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1276, allocations: 13.86 kB / 0.8898 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1276, allocations: 0 / 0.8898 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1276, allocations: 0 / 0.8898 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.506e-05/0.1276, allocations: 7.938 kB / 0.8898 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1276, allocations: 4 kB / 0.8898 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.388e-05/0.1277, allocations: 7.891 kB / 0.8899 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1277, allocations: 0 / 0.8899 GB, free: 1.152 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.661e-05/0.1277, allocations: 124.7 kB / 0.89 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.1277, allocations: 3.938 kB / 0.89 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.796e-05/0.1278, allocations: 117 kB / 0.8901 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.039e-05/0.1279, allocations: 180.2 kB / 0.8903 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-05/0.1279, allocations: 180.3 kB / 0.8904 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.966e-05/0.1279, allocations: 188.6 kB / 0.8906 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.1281, allocations: 321.4 kB / 0.8909 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.417e-05/0.1281, allocations: 101 kB / 0.891 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.1281, allocations: 108.9 kB / 0.8911 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-05/0.1282, allocations: 180.2 kB / 0.8913 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.1283, allocations: 188.2 kB / 0.8915 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.49e-05/0.1283, allocations: 184.2 kB / 0.8916 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.4e-05/0.1283, allocations: 176.3 kB / 0.8918 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.114e-05/0.1284, allocations: 311.8 kB / 0.8921 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.1285, allocations: 112.9 kB / 0.8922 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.1285, allocations: 180.2 kB / 0.8924 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.1286, allocations: 109 kB / 0.8925 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.1286, allocations: 180.2 kB / 0.8927 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1286, allocations: 105 kB / 0.8928 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.73e-05/0.1287, allocations: 12.86 kB / 0.8928 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1287, allocations: 4 kB / 0.8928 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001925/0.1289, allocations: 55.73 kB / 0.8928 GB, free: 13.91 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.0002387/0.1291, allocations: 235.3 kB / 0.8931 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.001e-05/0.1291, allocations: 16.8 kB / 0.8931 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1291, allocations: 4.125 kB / 0.8931 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.1291, allocations: 0 / 0.8931 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1294, allocations: 463.7 kB / 0.8935 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.1297, allocations: 190.6 kB / 0.8937 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.808e-05/0.1297, allocations: 51.36 kB / 0.8937 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.1298, allocations: 8 kB / 0.8938 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.1298, allocations: 67.33 kB / 0.8938 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.1298, allocations: 0 / 0.8938 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.002823/0.1326, allocations: 1.423 MB / 0.8952 GB, free: 11.42 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 -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.06849261187017]