Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001021/0.001021, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001695/0.001695, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 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.9262/0.9262, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002234/0.002234, allocations: 241.7 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6745/0.6745, allocations: 138.4 MB / 402.2 MB, free: 68 kB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 4.484 kB / 462.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114e-05/1.265e-05, allocations: 4.625 kB / 462.3 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1261/0.1261, allocations: 143.1 MB / 0.5912 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.1262, allocations: 51.8 kB / 0.5913 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.1262, allocations: 0 / 0.5913 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.1264, allocations: 3.938 kB / 0.5913 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.1265, allocations: 19.91 kB / 0.5913 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.1269, allocations: 115.5 kB / 0.5914 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.72e-05/0.1269, allocations: 39.84 kB / 0.5915 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.127, allocations: 0 / 0.5915 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 4.928e-05/0.127, allocations: 15.98 kB / 0.5915 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 6.364e-05/0.1271, allocations: 11.97 kB / 0.5915 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1271, allocations: 8 kB / 0.5915 GB, free: 2.957 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.1273, allocations: 83.61 kB / 0.5916 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.1273, allocations: 11.92 kB / 0.5916 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.1273, allocations: 11.98 kB / 0.5916 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.1275, allocations: 59.86 kB / 0.5916 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1275, allocations: 4 kB / 0.5917 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1275, allocations: 0 / 0.5917 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.1275, allocations: 0 / 0.5917 GB, free: 2.789 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002665/0.1277, allocations: 235.4 kB / 0.5919 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1278, allocations: 8.75 kB / 0.5919 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.1279, allocations: 32.84 kB / 0.5919 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.178e-05/0.128, allocations: 109.7 kB / 0.592 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.1281, allocations: 59.91 kB / 0.5921 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.1281, allocations: 8.125 kB / 0.5921 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.1282, allocations: 82.91 kB / 0.5922 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1282, allocations: 6.109 kB / 0.5922 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.1282, allocations: 0 / 0.5922 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.1282, allocations: 0 / 0.5922 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.1282, allocations: 12 kB / 0.5922 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.1284, allocations: 172.9 kB / 0.5923 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 2.975e-05/0.1284, allocations: 22.52 kB / 0.5924 GB, free: 1.961 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-06/0.1285, allocations: 5.672 kB / 0.5924 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-06/0.1285, allocations: 0 / 0.5924 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1285, allocations: 34.62 kB / 0.5924 GB, free: 1.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 5.62e-07/0.1285, allocations: 0 / 0.5924 GB, free: 1.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 8.754e-05/0.1286, allocations: 29.7 kB / 0.5924 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.1286, allocations: 63.5 kB / 0.5925 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.355e-05/0.1287, allocations: 108.6 kB / 0.5926 GB, free: 1.684 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1287, allocations: 29.7 kB / 0.5926 GB, free: 1.648 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.1287, allocations: 92.38 kB / 0.5927 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-06/0.1287, allocations: 4 kB / 0.5927 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.1287, allocations: 13.72 kB / 0.5927 GB, free: 1.531 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.1288, allocations: 314.8 kB / 0.593 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-06/0.1288, allocations: 0 / 0.593 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.1288, allocations: 26.56 kB / 0.5931 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.1289, allocations: 37.28 kB / 0.5931 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1289, allocations: 0 / 0.5931 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.859e-05/0.1289, allocations: 45.62 kB / 0.5931 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1289, allocations: 8 kB / 0.5931 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1289, allocations: 0 / 0.5931 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.129, allocations: 0 / 0.5931 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.022e-05/0.129, allocations: 8 kB / 0.5932 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.129, allocations: 0 / 0.5932 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.129, allocations: 3.953 kB / 0.5932 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.129, allocations: 12.08 kB / 0.5932 GB, free: 1.051 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.879e-05/0.1291, allocations: 120.5 kB / 0.5933 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.1291, allocations: 4.797 kB / 0.5933 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.1291, allocations: 3.156 kB / 0.5933 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1291, allocations: 3.938 kB / 0.5933 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.1291, allocations: 0 / 0.5933 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1291, allocations: 3.938 kB / 0.5933 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.1293, allocations: 260.1 kB / 0.5935 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1293, allocations: 0 / 0.5935 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-06/0.1293, allocations: 4 kB / 0.5935 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.1293, allocations: 4.031 kB / 0.5936 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-06/0.1293, allocations: 0 / 0.5936 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1293, allocations: 0.7031 kB / 0.5936 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1293, allocations: 1.828 kB / 0.5936 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.614e-05/0.1293, allocations: 65 kB / 0.5936 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.1293, allocations: 5.875 kB / 0.5936 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.1294, allocations: 4 kB / 0.5936 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.271e-05/0.1294, allocations: 3.984 kB / 0.5936 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.1294, allocations: 0 / 0.5936 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-07/0.1294, allocations: 0 / 0.5936 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.233e-05/0.1294, allocations: 12.89 kB / 0.5936 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.1294, allocations: 0 / 0.5936 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001065/0.1295, allocations: 8 kB / 0.5936 GB, free: 0.5039 MB / 0.5417 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 (1): * Single equations (assignments): 1 * 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 8.382e-05/0.1296, allocations: 76.42 kB / 0.5937 GB, free: 432 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 4.787e-05/0.1297, allocations: 20.78 kB / 0.5937 GB, free: 408 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.1297, allocations: 0.625 kB / 0.5937 GB, free: 408 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-06/0.1297, allocations: 8.859 kB / 0.5938 GB, free: 396 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.122e-05/0.1298, allocations: 16.19 kB / 0.5938 GB, free: 380 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.1301, allocations: 118.7 kB / 0.5939 GB, free: 236 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.669e-05/0.1301, allocations: 59.3 kB / 0.5939 GB, free: 156 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.1301, allocations: 0.9844 kB / 0.5939 GB, free: 156 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.1302, allocations: 63.34 kB / 0.594 GB, free: 96 kB / 0.5417 GB Notification: Performance of SimCode: time 3.91e-07/0.1302, allocations: 4 kB / 0.594 GB, free: 92 kB / 0.5417 GB Notification: Performance of Templates: time 0.002087/0.1323, allocations: 0.6299 MB / 0.5946 GB, free: 15.52 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.592772597912699]