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.00117/0.00117, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.00206/0.00206, allocations: 173 kB / 23.02 MB, free: 1.547 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.9743/0.9743, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.002658/0.002658, allocations: 237.8 kB / 260.2 MB, free: 12.82 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.6962/0.6962, allocations: 138.4 MB / 455.2 MB, free: 1.504 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.853e-06/1.853e-06, allocations: 0 / 0.5551 GB, free: 0.5 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.091e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3409/0.341, allocations: 143.7 MB / 0.6955 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001257/0.3411, allocations: 51.44 kB / 0.6955 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.3411, allocations: 4 kB / 0.6955 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.3413, allocations: 11.92 kB / 0.6955 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.696e-05/0.3413, allocations: 4 kB / 0.6955 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.3418, allocations: 125.8 kB / 0.6956 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.883e-05/0.3418, allocations: 27.86 kB / 0.6957 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.3419, allocations: 4 kB / 0.6957 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.955e-05/0.3419, allocations: 23.91 kB / 0.6957 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.801e-05/0.342, allocations: 19.92 kB / 0.6957 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.342, allocations: 0 / 0.6957 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.3422, allocations: 75.73 kB / 0.6958 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.3423, allocations: 7.984 kB / 0.6958 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.3423, allocations: 8 kB / 0.6958 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.3424, allocations: 75.77 kB / 0.6959 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3424, allocations: 0 / 0.6959 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3424, allocations: 0 / 0.6959 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3424, allocations: 3.938 kB / 0.6959 GB, free: 12.71 MB / 0.5105 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.0002984/0.3427, allocations: 370.3 kB / 0.6962 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3428, allocations: 12.75 kB / 0.6962 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.343, allocations: 29.5 kB / 0.6963 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.465e-05/0.343, allocations: 112.6 kB / 0.6964 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.3431, allocations: 55.97 kB / 0.6964 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.3431, allocations: 4.359 kB / 0.6964 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.3432, allocations: 80.03 kB / 0.6965 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.3432, allocations: 0 / 0.6965 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3432, allocations: 0 / 0.6965 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.3432, allocations: 8 kB / 0.6965 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.957e-05/0.3433, allocations: 15.92 kB / 0.6965 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.3435, allocations: 263.1 kB / 0.6968 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.145e-05/0.3435, allocations: 23.12 kB / 0.6968 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.3435, allocations: 11.69 kB / 0.6968 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.3435, allocations: 0 / 0.6968 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.3436, allocations: 33.39 kB / 0.6968 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3436, allocations: 0 / 0.6968 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001062/0.3437, allocations: 41.64 kB / 0.6969 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.605e-05/0.3437, allocations: 55.39 kB / 0.6969 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.594e-05/0.3437, allocations: 169.9 kB / 0.6971 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.3437, allocations: 25.7 kB / 0.6971 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.3438, allocations: 138.8 kB / 0.6973 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-06/0.3438, allocations: 7.953 kB / 0.6973 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.3438, allocations: 23.38 kB / 0.6973 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.3438, allocations: 496.1 kB / 0.6978 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.3438, allocations: 0 / 0.6978 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.3438, allocations: 39.05 kB / 0.6978 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.644e-05/0.3439, allocations: 35.12 kB / 0.6978 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3439, allocations: 3.938 kB / 0.6978 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.688e-05/0.3439, allocations: 53.62 kB / 0.6979 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3439, allocations: 8 kB / 0.6979 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3439, allocations: 0 / 0.6979 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.344, allocations: 0 / 0.6979 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.597e-05/0.344, allocations: 12 kB / 0.6979 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.344, allocations: 0 / 0.6979 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.344, allocations: 4.094 kB / 0.6979 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.344, allocations: 4 kB / 0.6979 GB, free: 10.38 MB / 0.5105 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 3.67e-05/0.3441, allocations: 160.5 kB / 0.6981 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.3441, allocations: 7.953 kB / 0.6981 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.3441, allocations: 7.141 kB / 0.6981 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3441, allocations: 0 / 0.6981 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3441, allocations: 0 / 0.6981 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3441, allocations: 0 / 0.6981 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.3442, allocations: 400.3 kB / 0.6985 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3442, allocations: 0 / 0.6985 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-06/0.3442, allocations: 10.78 kB / 0.6985 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3442, allocations: 0 / 0.6985 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.3442, allocations: 0 / 0.6985 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3442, allocations: 3.938 kB / 0.6985 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3442, allocations: 0 / 0.6985 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.325e-05/0.3443, allocations: 72.38 kB / 0.6985 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.3443, allocations: 4 kB / 0.6986 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.3443, allocations: 0 / 0.6986 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.3443, allocations: 0 / 0.6986 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.3443, allocations: 4 kB / 0.6986 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-06/0.3443, allocations: 8.125 kB / 0.6986 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.728e-05/0.3444, allocations: 131.1 kB / 0.6987 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.3444, allocations: 0 / 0.6987 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001202/0.3445, allocations: 4 kB / 0.6987 GB, free: 9.508 MB / 0.5105 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 6.162e-05/0.3445, allocations: 99.25 kB / 0.6988 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.553e-05/0.3446, allocations: 27.61 kB / 0.6988 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3446, allocations: 0 / 0.6988 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.628e-06/0.3446, allocations: 11.67 kB / 0.6988 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.3448, allocations: 8.25 kB / 0.6988 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.3451, allocations: 128.9 kB / 0.699 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.955e-05/0.3451, allocations: 61.42 kB / 0.699 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.3452, allocations: 4 kB / 0.699 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.993e-05/0.3452, allocations: 12.5 kB / 0.699 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.3452, allocations: 0 / 0.699 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of Templates: time 0.001982/0.3472, allocations: 0.6002 MB / 0.6996 GB, free: 8.555 MB / 0.5105 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.962867966853082]