Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.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.Rooms.BaseClasses.Examples.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") translateModel(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6116/0.6116, allocations: 94.78 MB / 102.2 MB, free: 10.17 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.001582/0.001582, allocations: 177.5 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 2.156/2.156, allocations: 170.6 MB / 319.4 MB, free: 9.391 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.001965/0.001965, allocations: 106.5 kB / 381.3 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.354e-05, allocations: 0 / 449.1 MB, free: 1.781 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1889, allocations: 61.52 MB / 0.4987 GB, free: 4.164 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.511/1.7, allocations: 403.3 MB / 0.8925 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004492/1.7, allocations: 89.06 kB / 0.8926 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7322/2.433, allocations: 121.2 MB / 1.011 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.535e-06/2.433, allocations: 0 / 1.011 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004525/2.433, allocations: 31.94 kB / 1.011 GB, free: 107.3 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.004114/2.437, allocations: 1.374 MB / 1.012 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/2.437, allocations: 8.031 kB / 1.012 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009209/2.438, allocations: 185.7 kB / 1.013 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005056/2.443, allocations: 1.648 MB / 1.014 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/2.443, allocations: 20 kB / 1.014 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/2.444, allocations: 31.91 kB / 1.014 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009232/2.445, allocations: 382.4 kB / 1.015 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009595/2.446, allocations: 0.5184 MB / 1.015 GB, free: 103 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/2.446, allocations: 11.89 kB / 1.015 GB, free: 103 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/2.446, allocations: 0 / 1.015 GB, free: 103 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/2.446, allocations: 12 kB / 1.015 GB, free: 103 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005732/2.451, allocations: 3.227 MB / 1.018 GB, free: 99.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/2.452, allocations: 211 kB / 1.018 GB, free: 99.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/2.452, allocations: 87.84 kB / 1.018 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/2.452, allocations: 174.2 kB / 1.019 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/2.452, allocations: 38.5 kB / 1.019 GB, free: 99.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 2.364e-06/2.452, allocations: 0 / 1.019 GB, free: 99.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.003506/2.456, allocations: 1.189 MB / 1.02 GB, free: 97.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/2.456, allocations: 55.34 kB / 1.02 GB, free: 97.73 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/AirHeatMassBalanceMixed.mo:12:3-13:54:writable] Warning: Parameter air.homotopyInitialization has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003866/2.46, allocations: 1.847 MB / 1.022 GB, free: 95.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/2.46, allocations: 25.7 kB / 1.022 GB, free: 95.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008008/2.461, allocations: 0.7683 MB / 1.022 GB, free: 95.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/2.461, allocations: 86.84 kB / 1.023 GB, free: 94.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/2.461, allocations: 0 / 1.023 GB, free: 94.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001012/2.461, allocations: 322 kB / 1.023 GB, free: 94.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/2.461, allocations: 100.8 kB / 1.023 GB, free: 94.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/2.461, allocations: 293.7 kB / 1.023 GB, free: 94.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/2.462, allocations: 171.7 kB / 1.023 GB, free: 93.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/2.462, allocations: 0 / 1.023 GB, free: 93.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001408/2.463, allocations: 0.6677 MB / 1.024 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/2.463, allocations: 8 kB / 1.024 GB, free: 93.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/2.463, allocations: 8.906 kB / 1.024 GB, free: 93.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/2.464, allocations: 81.67 kB / 1.024 GB, free: 93.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/2.464, allocations: 95.83 kB / 1.024 GB, free: 93.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/2.467, allocations: 2.867 MB / 1.027 GB, free: 89.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/2.468, allocations: 15.89 kB / 1.027 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/2.468, allocations: 24 kB / 1.027 GB, free: 89.95 MB / 0.5261 GB Warning: Assuming fixed start value for the following 2 variables: air.vol.dynBal.medium.T:VARIABLE(min = max(273.15, 273.15) max = min(373.15, 373.15) start = air.vol.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real air.vol.dynBal.medium.p:VARIABLE(min = max(0.0, 0.0) max = 100000000.0 start = air.vol.dynBal.p_start unit = "Pa" nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 {(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003284/2.468, allocations: 139.4 kB / 1.027 GB, free: 89.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00047/2.469, allocations: 158 kB / 1.027 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/2.47, allocations: 0.5152 MB / 1.028 GB, free: 89.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/2.47, allocations: 11.94 kB / 1.028 GB, free: 89.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/2.47, allocations: 0 / 1.028 GB, free: 89.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/2.47, allocations: 4 kB / 1.028 GB, free: 89.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004003/2.474, allocations: 1.443 MB / 1.029 GB, free: 87.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/2.474, allocations: 4.062 kB / 1.029 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/2.475, allocations: 39.97 kB / 1.029 GB, free: 87.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/2.475, allocations: 73.62 kB / 1.029 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/2.475, allocations: 4 kB / 1.029 GB, free: 87.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/2.477, allocations: 2.848 MB / 1.032 GB, free: 84.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.477, allocations: 0 / 1.032 GB, free: 84.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/2.479, allocations: 0.7346 MB / 1.033 GB, free: 83.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/2.48, allocations: 0.5858 MB / 1.033 GB, free: 82.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005194/2.48, allocations: 8 kB / 1.033 GB, free: 82.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000773/2.481, allocations: 11.92 kB / 1.034 GB, free: 82.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/2.481, allocations: 16.05 kB / 1.034 GB, free: 82.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/2.481, allocations: 15.98 kB / 1.034 GB, free: 82.85 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003007/2.484, allocations: 1.405 MB / 1.035 GB, free: 81.42 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/2.484, allocations: 0 / 1.035 GB, free: 81.42 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001601/2.486, allocations: 252 kB / 1.035 GB, free: 81.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (air.vol.dynBal.medium.p,air.vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 2 {(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001826/2.488, allocations: 0.9691 MB / 1.036 GB, free: 80.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001077/2.489, allocations: 0.4933 MB / 1.037 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/2.489, allocations: 0 / 1.037 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/2.489, allocations: 341.5 kB / 1.037 GB, free: 79.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/2.493, allocations: 0.5985 MB / 1.037 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005565/2.498, allocations: 2.309 MB / 1.04 GB, free: 76.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/2.5, allocations: 1.622 MB / 1.041 GB, free: 74.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001243/2.502, allocations: 243.1 kB / 1.042 GB, free: 74.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/2.502, allocations: 83.42 kB / 1.042 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of SimCode: time 2.104e-06/2.502, allocations: 0 / 1.042 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.04641/2.548, allocations: 20.82 MB / 1.062 GB, free: 53.7 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.makefile (rm -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe ; mkfifo Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe >> ../files/Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.sim & ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe 2>&1)