Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.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.GasesConstantDensity.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.8247/0.8247, allocations: 94.78 MB / 102.3 MB, free: 10.15 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.001701/0.001702, allocations: 181 kB / 125.6 MB, free: 11.9 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.999/1.999, allocations: 170.6 MB / 319.4 MB, free: 9.281 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.00197/0.00197, allocations: 111.3 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.498e-05/2.501e-05, allocations: 0 / 449.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1915, allocations: 61.52 MB / 0.4987 GB, free: 4.145 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.97/17.16, allocations: 5.123 GB / 5.621 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003872/17.16, allocations: 73.28 kB / 5.622 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9751/18.14, allocations: 275.2 MB / 5.89 GB, free: 84.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.725e-06/18.14, allocations: 0 / 5.89 GB, free: 84.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.098e-05/18.14, allocations: 10.41 kB / 5.89 GB, free: 84.29 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003309/18.14, allocations: 1.001 MB / 5.891 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/18.14, allocations: 10.41 kB / 5.891 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005493/18.14, allocations: 60.39 kB / 5.891 GB, free: 83.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/18.14, allocations: 358.2 kB / 5.892 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/18.14, allocations: 14.48 kB / 5.892 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/18.14, allocations: 28.98 kB / 5.892 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001002/18.14, allocations: 0.5305 MB / 5.892 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/18.14, allocations: 492 kB / 5.893 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/18.14, allocations: 5.719 kB / 5.893 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/18.14, allocations: 0 / 5.893 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/18.14, allocations: 13.38 kB / 5.893 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/18.15, allocations: 1.97 MB / 5.895 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009419/18.15, allocations: 422.2 kB / 5.895 GB, free: 80.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/18.15, allocations: 209.1 kB / 5.895 GB, free: 80.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/18.15, allocations: 188.7 kB / 5.895 GB, free: 80.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/18.15, allocations: 46.48 kB / 5.896 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.837e-06/18.15, allocations: 0 / 5.896 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.004886/18.15, allocations: 1.823 MB / 5.897 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/18.15, allocations: 63.19 kB / 5.897 GB, free: 79.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/18.15, allocations: 275.6 kB / 5.898 GB, free: 78.99 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.349e-05/18.15, allocations: 29.64 kB / 5.898 GB, free: 78.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/18.15, allocations: 230.5 kB / 5.898 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/18.15, allocations: 162.9 kB / 5.898 GB, free: 78.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/18.15, allocations: 0 / 5.898 GB, free: 78.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001273/18.15, allocations: 346.1 kB / 5.898 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/18.16, allocations: 199.4 kB / 5.899 GB, free: 78.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/18.16, allocations: 294.3 kB / 5.899 GB, free: 77.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007924/18.16, allocations: 308.2 kB / 5.899 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/18.16, allocations: 3.812 kB / 5.899 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001507/18.16, allocations: 0.6851 MB / 5.9 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/18.16, allocations: 7.875 kB / 5.9 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/18.16, allocations: 3.938 kB / 5.9 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002308/18.16, allocations: 55.34 kB / 5.9 GB, free: 77.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/18.16, allocations: 144.6 kB / 5.9 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/18.16, allocations: 2.517 MB / 5.902 GB, free: 74.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005994/18.16, allocations: 28.42 kB / 5.902 GB, free: 74.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/18.16, allocations: 31.45 kB / 5.903 GB, free: 74.79 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] 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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003559/18.16, allocations: 126.9 kB / 5.903 GB, free: 74.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/18.16, allocations: 38.14 kB / 5.903 GB, free: 74.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/18.16, allocations: 0.6638 MB / 5.903 GB, free: 74.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/18.16, allocations: 7.188 kB / 5.903 GB, free: 74.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/18.16, allocations: 4 kB / 5.903 GB, free: 74.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/18.16, allocations: 0.7288 MB / 5.904 GB, free: 73.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/18.17, allocations: 1.415 MB / 5.905 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/18.17, allocations: 3.875 kB / 5.905 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/18.17, allocations: 114.9 kB / 5.906 GB, free: 72.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/18.17, allocations: 10.56 kB / 5.906 GB, free: 72.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/18.17, allocations: 15.67 kB / 5.906 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/18.17, allocations: 7.25 kB / 5.906 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/18.17, allocations: 8.219 kB / 5.906 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/18.17, allocations: 1.045 MB / 5.907 GB, free: 71.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/18.17, allocations: 190.3 kB / 5.907 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.382e-05/18.17, allocations: 7.734 kB / 5.907 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/18.17, allocations: 30.23 kB / 5.907 GB, free: 71.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/18.17, allocations: 39.91 kB / 5.907 GB, free: 71.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/18.17, allocations: 35.97 kB / 5.907 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002/18.17, allocations: 218 kB / 5.907 GB, free: 71.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/18.17, allocations: 0 / 5.907 GB, free: 71.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001799/18.17, allocations: 439.6 kB / 5.908 GB, free: 70.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.002007/18.17, allocations: 1.311 MB / 5.909 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009791/18.17, allocations: 0.6853 MB / 5.909 GB, free: 69.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/18.17, allocations: 4.125 kB / 5.909 GB, free: 69.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/18.18, allocations: 235.7 kB / 5.91 GB, free: 68.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/18.18, allocations: 199.5 kB / 5.91 GB, free: 68.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/18.18, allocations: 0.8219 MB / 5.911 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/18.18, allocations: 0.8562 MB / 5.912 GB, free: 66.83 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005622/18.18, allocations: 132 kB / 5.912 GB, free: 66.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/18.18, allocations: 63.41 kB / 5.912 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of SimCode: time 3.01e-07/18.18, allocations: 0 / 5.912 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.02534/18.2, allocations: 17.74 MB / 5.929 GB, free: 48.95 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe 2>&1)