Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0008696/0.0008696, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0008833/0.0008833, allocations: 161 kB / 24.17 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.9578/0.9578, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.917/1.917, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7751 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.703e-05, allocations: 4.562 kB / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1783/0.1784, allocations: 143.1 MB / 0.9149 GB, free: 5.949 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0002122/0.1786, allocations: 55.73 kB / 0.915 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.1786, allocations: 0 / 0.915 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1788, allocations: 7.938 kB / 0.915 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.1789, allocations: 11.91 kB / 0.915 GB, free: 5.875 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.1794, allocations: 123.5 kB / 0.9151 GB, free: 5.754 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 9.661e-05/0.1795, allocations: 39.84 kB / 0.9151 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.1795, allocations: 0 / 0.9151 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.1796, allocations: 15.98 kB / 0.9151 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.1797, allocations: 15.97 kB / 0.9152 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1797, allocations: 0 / 0.9152 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.1799, allocations: 83.67 kB / 0.9152 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.18, allocations: 15.92 kB / 0.9153 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.18, allocations: 4 kB / 0.9153 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.1801, allocations: 67.84 kB / 0.9153 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1801, allocations: 0 / 0.9153 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1802, allocations: 0 / 0.9153 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.1802, allocations: 0 / 0.9153 GB, free: 5.516 MB / 0.8698 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.0003204/0.1805, allocations: 240.9 kB / 0.9156 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1805, allocations: 12.75 kB / 0.9156 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.1808, allocations: 32.84 kB / 0.9156 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1809, allocations: 105.7 kB / 0.9157 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.1809, allocations: 55.97 kB / 0.9158 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1809, allocations: 8.062 kB / 0.9158 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.181, allocations: 86.91 kB / 0.9158 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1811, allocations: 0 / 0.9158 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1811, allocations: 3.984 kB / 0.9158 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.1811, allocations: 0 / 0.9158 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.1811, allocations: 8 kB / 0.9159 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.1813, allocations: 169.9 kB / 0.916 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.917e-05/0.1814, allocations: 22.52 kB / 0.916 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.998e-06/0.1814, allocations: 4.859 kB / 0.916 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-06/0.1814, allocations: 0 / 0.916 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.1814, allocations: 34.62 kB / 0.9161 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.1814, allocations: 0 / 0.9161 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 8.677e-05/0.1815, allocations: 33.64 kB / 0.9161 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.1815, allocations: 51.41 kB / 0.9162 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.1816, allocations: 118.6 kB / 0.9163 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.1816, allocations: 29.83 kB / 0.9163 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.1816, allocations: 88.09 kB / 0.9164 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-06/0.1816, allocations: 7.922 kB / 0.9164 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.1816, allocations: 21.67 kB / 0.9164 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.1817, allocations: 314.8 kB / 0.9167 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.1817, allocations: 4 kB / 0.9167 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.1817, allocations: 22.58 kB / 0.9167 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/0.1818, allocations: 33.27 kB / 0.9168 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1818, allocations: 8 kB / 0.9168 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.871e-05/0.1818, allocations: 45.62 kB / 0.9168 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.1818, allocations: 4 kB / 0.9168 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1818, allocations: 0 / 0.9168 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1819, allocations: 0 / 0.9168 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.624e-05/0.1819, allocations: 8 kB / 0.9168 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.1819, allocations: 0 / 0.9168 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.1819, allocations: 4 kB / 0.9168 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-06/0.1819, allocations: 256 / 0.9168 GB, free: 3.773 MB / 0.8698 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.332e-05/0.182, allocations: 124.7 kB / 0.917 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.182, allocations: 4 kB / 0.917 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.436e-05/0.182, allocations: 3.156 kB / 0.917 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.182, allocations: 3.938 kB / 0.917 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.182, allocations: 7.938 kB / 0.917 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.182, allocations: 0 / 0.917 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.1821, allocations: 258.9 kB / 0.9172 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1821, allocations: 4 kB / 0.9172 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-06/0.1822, allocations: 0 / 0.9172 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.1822, allocations: 0 / 0.9172 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-06/0.1822, allocations: 4.031 kB / 0.9172 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1822, allocations: 0 / 0.9172 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1822, allocations: 0 / 0.9172 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.233e-05/0.1822, allocations: 69 kB / 0.9173 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-06/0.1822, allocations: 4 kB / 0.9173 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.1822, allocations: 0 / 0.9173 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.1823, allocations: 0 / 0.9173 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.1823, allocations: 3.984 kB / 0.9173 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.1823, allocations: 4 kB / 0.9173 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.155e-05/0.1823, allocations: 8.859 kB / 0.9173 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1823, allocations: 0 / 0.9173 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of remove unused functions: time 9.132e-05/0.1824, allocations: 8.031 kB / 0.9173 GB, free: 3.219 MB / 0.8698 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.449e-05/0.1825, allocations: 80.42 kB / 0.9174 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 4.892e-05/0.1825, allocations: 16.78 kB / 0.9174 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1825, allocations: 4 kB / 0.9174 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-06/0.1825, allocations: 8.859 kB / 0.9174 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.533e-05/0.1826, allocations: 7.938 kB / 0.9174 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.1829, allocations: 134.2 kB / 0.9176 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.506e-05/0.183, allocations: 55.36 kB / 0.9176 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.183, allocations: 4.078 kB / 0.9176 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.183, allocations: 63.34 kB / 0.9177 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of SimCode: time 6.31e-07/0.183, allocations: 0 / 0.9177 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of Templates: time 0.002123/0.1852, allocations: 0.6267 MB / 0.9183 GB, free: 2.184 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.161269704811275]