Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5557/0.5557, allocations: 94.78 MB / 102.3 MB, free: 10.12 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001117/0.001117, allocations: 174.8 kB / 125.5 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.663/1.663, allocations: 170.6 MB / 319.4 MB, free: 9.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001897/0.001897, allocations: 115 kB / 381.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.058e-05, allocations: 0 / 449.1 MB, free: 1.727 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1953, allocations: 61.52 MB / 0.4987 GB, free: 4.121 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.429/1.624, allocations: 405.3 MB / 0.8944 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004613/1.625, allocations: 82.42 kB / 0.8945 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6352/2.26, allocations: 82.47 MB / 0.9751 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.604e-06/2.26, allocations: 384 / 0.9751 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.004e-05/2.26, allocations: 4 kB / 0.9751 GB, free: 144.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001232/2.262, allocations: 0.5191 MB / 0.9756 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/2.262, allocations: 12.03 kB / 0.9756 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/2.262, allocations: 31.72 kB / 0.9756 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/2.263, allocations: 282.3 kB / 0.9759 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/2.263, allocations: 8 kB / 0.9759 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/2.263, allocations: 18.17 kB / 0.9759 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003885/2.263, allocations: 153.1 kB / 0.9761 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/2.264, allocations: 254.6 kB / 0.9763 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/2.264, allocations: 3.984 kB / 0.9763 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/2.264, allocations: 1.188 kB / 0.9763 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/2.264, allocations: 8 kB / 0.9763 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/2.266, allocations: 1.431 MB / 0.9777 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/2.266, allocations: 159.1 kB / 0.9779 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/2.266, allocations: 81.23 kB / 0.9779 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/2.266, allocations: 170.2 kB / 0.9781 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/2.266, allocations: 38.75 kB / 0.9781 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 2.675e-06/2.266, allocations: 0 / 0.9781 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.0005947/2.267, allocations: 181.1 kB / 0.9783 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/2.267, allocations: 51.41 kB / 0.9784 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/2.267, allocations: 195.1 kB / 0.9785 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/2.267, allocations: 33.7 kB / 0.9786 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/2.267, allocations: 179.8 kB / 0.9788 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/2.268, allocations: 67 kB / 0.9788 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-06/2.268, allocations: 4 kB / 0.9788 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001217/2.268, allocations: 334.8 kB / 0.9791 GB, free: 140 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.484e-05/2.268, allocations: 48 kB / 0.9792 GB, free: 140 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/2.268, allocations: 148 kB / 0.9793 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/2.268, allocations: 83.84 kB / 0.9794 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.268, allocations: 4 kB / 0.9794 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004678/2.269, allocations: 263.4 kB / 0.9797 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/2.269, allocations: 7.953 kB / 0.9797 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/2.269, allocations: 4 kB / 0.9797 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/2.269, allocations: 24.84 kB / 0.9797 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/2.269, allocations: 66.34 kB / 0.9798 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000929/2.27, allocations: 1.245 MB / 0.981 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/2.27, allocations: 27.73 kB / 0.981 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/2.27, allocations: 12 kB / 0.981 GB, free: 137.9 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002132/2.271, allocations: 125 kB / 0.9811 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/2.271, allocations: 23.72 kB / 0.9812 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/2.271, allocations: 193.9 kB / 0.9813 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/2.271, allocations: 0 / 0.9813 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/2.271, allocations: 0 / 0.9813 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003163/2.271, allocations: 467.7 kB / 0.9818 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/2.272, allocations: 0.4917 MB / 0.9823 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/2.272, allocations: 0 / 0.9823 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/2.272, allocations: 67.27 kB / 0.9823 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/2.272, allocations: 3.953 kB / 0.9823 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/2.272, allocations: 4 kB / 0.9823 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/2.272, allocations: 0 / 0.9823 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/2.272, allocations: 0 / 0.9823 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/2.273, allocations: 349.6 kB / 0.9827 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/2.273, allocations: 92.95 kB / 0.9828 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/2.273, allocations: 0 / 0.9828 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/2.273, allocations: 15.83 kB / 0.9828 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/2.273, allocations: 20.05 kB / 0.9828 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/2.273, allocations: 4 kB / 0.9828 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001307/2.273, allocations: 153.6 kB / 0.9829 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.092e-06/2.273, allocations: 0 / 0.9829 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004965/2.274, allocations: 103.8 kB / 0.983 GB, free: 135.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.U,volume.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.000294/2.274, allocations: 139 kB / 0.9832 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004729/2.275, allocations: 266.3 kB / 0.9834 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/2.275, allocations: 0.8125 kB / 0.9834 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.295e-05/2.275, allocations: 71.86 kB / 0.9835 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008058/2.276, allocations: 126.2 kB / 0.9836 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009936/2.277, allocations: 429.9 kB / 0.984 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/2.277, allocations: 0.7639 MB / 0.9848 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002709/2.277, allocations: 55.12 kB / 0.9848 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/2.277, allocations: 23.44 kB / 0.9848 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/2.277, allocations: 0 / 0.9848 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.009683/2.287, allocations: 4.189 MB / 0.9889 GB, free: 129.7 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe 2>&1)