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.001034/0.001034, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001843/0.001843, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.001/1.001, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.002725/0.002725, allocations: 250.2 kB / 260.5 MB, free: 12.68 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.7478/0.7478, allocations: 138.4 MB / 402.2 MB, free: 0.5625 MB / 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.182e-06/1.182e-06, allocations: 0 / 462.4 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.342e-05, allocations: 4.906 kB / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1274/0.1274, allocations: 143.2 MB / 0.5913 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0001461/0.1275, allocations: 51.8 kB / 0.5914 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.1275, allocations: 0 / 0.5914 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.1277, allocations: 7.875 kB / 0.5914 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 8.005e-05/0.1277, allocations: 7.984 kB / 0.5914 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.1282, allocations: 127.5 kB / 0.5915 GB, free: 3.043 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.824e-05/0.1283, allocations: 35.86 kB / 0.5915 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.1283, allocations: 0 / 0.5915 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.124e-05/0.1284, allocations: 19.97 kB / 0.5916 GB, free: 2.988 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.1285, allocations: 11.92 kB / 0.5916 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1285, allocations: 0 / 0.5916 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.1287, allocations: 87.61 kB / 0.5917 GB, free: 2.891 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.1288, allocations: 7.984 kB / 0.5917 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.1288, allocations: 8 kB / 0.5917 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.1289, allocations: 67.78 kB / 0.5917 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1289, allocations: 4 kB / 0.5917 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1289, allocations: 4 kB / 0.5917 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.1289, allocations: 0 / 0.5917 GB, free: 2.801 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.0002761/0.1292, allocations: 235.4 kB / 0.592 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1292, allocations: 8.75 kB / 0.592 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.1295, allocations: 28.84 kB / 0.592 GB, free: 2.516 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.377e-05/0.1295, allocations: 109.7 kB / 0.5921 GB, free: 2.383 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.1296, allocations: 55.97 kB / 0.5922 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.1296, allocations: 8.125 kB / 0.5922 GB, free: 2.309 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1297, allocations: 86.91 kB / 0.5923 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1297, allocations: 3.984 kB / 0.5923 GB, free: 2.203 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1297, allocations: 4 kB / 0.5923 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1297, allocations: 0 / 0.5923 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.1298, allocations: 8 kB / 0.5923 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.13, allocations: 168.9 kB / 0.5924 GB, free: 2.012 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 2.832e-05/0.13, allocations: 18.58 kB / 0.5925 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.132e-05/0.13, allocations: 8.891 kB / 0.5925 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-06/0.13, allocations: 4 kB / 0.5925 GB, free: 1.969 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1301, allocations: 34.62 kB / 0.5925 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1301, allocations: 0 / 0.5925 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001003/0.1302, allocations: 33.64 kB / 0.5925 GB, free: 1.887 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002598/0.1304, allocations: 51.41 kB / 0.5926 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.1305, allocations: 110.7 kB / 0.5927 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.1305, allocations: 25.7 kB / 0.5927 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.1306, allocations: 92.39 kB / 0.5928 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-06/0.1306, allocations: 4 kB / 0.5928 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.1306, allocations: 17.83 kB / 0.5928 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.394e-05/0.1307, allocations: 318.8 kB / 0.5931 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-06/0.1307, allocations: 0 / 0.5931 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.1307, allocations: 23.94 kB / 0.5931 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.1307, allocations: 37.27 kB / 0.5932 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1307, allocations: 3.938 kB / 0.5932 GB, free: 1.148 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.543e-05/0.1308, allocations: 45.62 kB / 0.5932 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1308, allocations: 8.094 kB / 0.5932 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1308, allocations: 4.812 kB / 0.5932 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1308, allocations: 0 / 0.5932 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.631e-05/0.1309, allocations: 8 kB / 0.5932 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.1309, allocations: 0.7031 kB / 0.5932 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.1309, allocations: 3.953 kB / 0.5933 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.1309, allocations: 4 kB / 0.5933 GB, free: 1.07 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.788e-05/0.131, allocations: 120.5 kB / 0.5934 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.131, allocations: 7.938 kB / 0.5934 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.131, allocations: 11.89 kB / 0.5934 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.131, allocations: 0 / 0.5934 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.131, allocations: 4 kB / 0.5934 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.131, allocations: 0 / 0.5934 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.1312, allocations: 255 kB / 0.5936 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1312, allocations: 0 / 0.5936 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-06/0.1312, allocations: 4.812 kB / 0.5936 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1312, allocations: 1.781 kB / 0.5936 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-06/0.1312, allocations: 0 / 0.5936 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1312, allocations: 0 / 0.5936 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1312, allocations: 0 / 0.5936 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.792e-05/0.1313, allocations: 65 kB / 0.5937 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.1313, allocations: 6 kB / 0.5937 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1313, allocations: 8 kB / 0.5937 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.834e-05/0.1313, allocations: 0 / 0.5937 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-06/0.1313, allocations: 0 / 0.5937 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-06/0.1313, allocations: 0 / 0.5937 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.528e-05/0.1314, allocations: 16.83 kB / 0.5937 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.1314, allocations: 4 kB / 0.5937 GB, free: 0.5234 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001554/0.1315, allocations: 4 kB / 0.5937 GB, free: 0.5195 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.672e-05/0.1316, allocations: 76.42 kB / 0.5938 GB, free: 448 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 4.948e-05/0.1316, allocations: 20.8 kB / 0.5938 GB, free: 424 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.1316, allocations: 4.625 kB / 0.5938 GB, free: 420 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.979e-06/0.1317, allocations: 4.859 kB / 0.5938 GB, free: 412 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.1318, allocations: 15.92 kB / 0.5939 GB, free: 396 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.1321, allocations: 117.9 kB / 0.594 GB, free: 252 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.806e-05/0.1321, allocations: 59.59 kB / 0.594 GB, free: 172 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.432e-05/0.1322, allocations: 5.359 kB / 0.594 GB, free: 168 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.1323, allocations: 59.36 kB / 0.5941 GB, free: 112 kB / 0.5417 GB Notification: Performance of SimCode: time 6.21e-07/0.1323, allocations: 0 / 0.5941 GB, free: 112 kB / 0.5417 GB Notification: Performance of Templates: time 0.002321/0.1346, allocations: 0.6311 MB / 0.5947 GB, free: 15.54 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7097046659328043]