Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008992/0.0008993, allocations: 176.2 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007228/0.0007228, allocations: 102.2 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003707, allocations: 13.75 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1614, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.743/7.904, allocations: 4.605 GB / 5.506 GB, free: 17.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/7.905, allocations: 95.88 kB / 5.506 GB, free: 17.31 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4581/8.363, allocations: 45.24 MB / 5.55 GB, free: 318.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.074e-06/8.363, allocations: 0 / 5.55 GB, free: 318.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.961e-06/8.363, allocations: 0 / 5.55 GB, free: 318.2 MB / 0.8855 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.0002655/8.363, allocations: 343.4 kB / 5.551 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/8.363, allocations: 9.094 kB / 5.551 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/8.363, allocations: 20.52 kB / 5.551 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.372e-05/8.363, allocations: 165.4 kB / 5.551 GB, free: 317.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.63e-05/8.363, allocations: 28.92 kB / 5.551 GB, free: 317.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/8.364, allocations: 384 / 5.551 GB, free: 317.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/8.364, allocations: 55.3 kB / 5.551 GB, free: 317.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/8.364, allocations: 3.938 kB / 5.551 GB, free: 317.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/8.364, allocations: 1.375 kB / 5.551 GB, free: 317.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/8.364, allocations: 6.281 kB / 5.551 GB, free: 317.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/8.364, allocations: 17.45 kB / 5.551 GB, free: 317.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/8.364, allocations: 255.4 kB / 5.551 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.529e-05/8.364, allocations: 19.27 kB / 5.551 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.398e-05/8.364, allocations: 6.328 kB / 5.551 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/8.364, allocations: 10.94 kB / 5.551 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/8.364, allocations: 35.44 kB / 5.551 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/8.364, allocations: 0 / 5.551 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001148/8.364, allocations: 39.08 kB / 5.551 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/8.364, allocations: 51.41 kB / 5.551 GB, free: 317.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.544e-05/8.364, allocations: 111.8 kB / 5.552 GB, free: 317 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/8.364, allocations: 26.89 kB / 5.552 GB, free: 317 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/8.364, allocations: 95.31 kB / 5.552 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-06/8.364, allocations: 4.969 kB / 5.552 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/8.364, allocations: 0 / 5.552 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.465e-05/8.365, allocations: 316 kB / 5.552 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/8.365, allocations: 10.88 kB / 5.552 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/8.365, allocations: 19.2 kB / 5.552 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/8.365, allocations: 32.61 kB / 5.552 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/8.365, allocations: 1.031 kB / 5.552 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.485e-05/8.365, allocations: 53.42 kB / 5.552 GB, free: 316.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/8.365, allocations: 10.31 kB / 5.552 GB, free: 316.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/8.365, allocations: 96 / 5.552 GB, free: 316.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/8.365, allocations: 5.797 kB / 5.552 GB, free: 316.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.979e-05/8.365, allocations: 10.34 kB / 5.552 GB, free: 316.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/8.365, allocations: 3.094 kB / 5.552 GB, free: 316.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/8.365, allocations: 7.094 kB / 5.552 GB, free: 316.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/8.365, allocations: 1.844 kB / 5.552 GB, free: 316.5 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/8.365, allocations: 116.4 kB / 5.552 GB, free: 316.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/8.365, allocations: 1.156 kB / 5.552 GB, free: 316.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.643e-05/8.365, allocations: 4.281 kB / 5.552 GB, free: 316.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/8.365, allocations: 1.375 kB / 5.552 GB, free: 316.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/8.365, allocations: 0 / 5.552 GB, free: 316.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/8.365, allocations: 0 / 5.552 GB, free: 316.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/8.365, allocations: 357.2 kB / 5.553 GB, free: 316 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/8.365, allocations: 0 / 5.553 GB, free: 316 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/8.365, allocations: 1 kB / 5.553 GB, free: 316 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/8.365, allocations: 1.5 kB / 5.553 GB, free: 316 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/8.365, allocations: 0 / 5.553 GB, free: 316 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/8.365, allocations: 0 / 5.553 GB, free: 316 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/8.365, allocations: 0 / 5.553 GB, free: 316 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.397e-05/8.365, allocations: 71.83 kB / 5.553 GB, free: 315.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/8.365, allocations: 78.58 kB / 5.553 GB, free: 315.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/8.365, allocations: 1.156 kB / 5.553 GB, free: 315.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/8.365, allocations: 2.625 kB / 5.553 GB, free: 315.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/8.365, allocations: 8.922 kB / 5.553 GB, free: 315.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/8.365, allocations: 1.438 kB / 5.553 GB, free: 315.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.896e-05/8.366, allocations: 83.06 kB / 5.553 GB, free: 315.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/8.366, allocations: 3.938 kB / 5.553 GB, free: 315.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002954/8.366, allocations: 46.19 kB / 5.553 GB, free: 315.8 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007834/8.367, allocations: 0.5577 MB / 5.553 GB, free: 315.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.665e-05/8.367, allocations: 14.59 kB / 5.553 GB, free: 315.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/8.367, allocations: 4.688 kB / 5.553 GB, free: 315.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.404e-06/8.367, allocations: 2.125 kB / 5.553 GB, free: 315.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/8.367, allocations: 6.406 kB / 5.553 GB, free: 315.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/8.367, allocations: 130.3 kB / 5.554 GB, free: 315.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/8.367, allocations: 0.6733 MB / 5.554 GB, free: 314.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.125e-05/8.367, allocations: 11.66 kB / 5.554 GB, free: 314.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/8.367, allocations: 8.469 kB / 5.554 GB, free: 314.7 MB / 0.8855 GB Notification: Performance of SimCode: time 3.2e-07/8.367, allocations: 0.5312 kB / 5.554 GB, free: 314.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.01011/8.378, allocations: 7.897 MB / 5.562 GB, free: 313.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)