Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 387.4 MB / 394.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 172.8 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 95.77 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.249e-05/2.251e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3344, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.407/6.741, allocations: 1.958 GB / 3.164 GB, free: 390.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/6.742, allocations: 88.67 kB / 3.164 GB, free: 390.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.946/8.688, allocations: 0.57 GB / 3.735 GB, free: 244.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.694e-06/8.688, allocations: 0 / 3.735 GB, free: 244.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002412/8.688, allocations: 59.77 kB / 3.735 GB, free: 244.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.004979/8.693, allocations: 2.258 MB / 3.737 GB, free: 241.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/8.693, allocations: 12.03 kB / 3.737 GB, free: 241.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/8.697, allocations: 0.5434 MB / 3.737 GB, free: 241.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/8.7, allocations: 1.912 MB / 3.739 GB, free: 239.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/8.7, allocations: 59.98 kB / 3.739 GB, free: 239.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/8.7, allocations: 103.9 kB / 3.739 GB, free: 239.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002526/8.703, allocations: 1.802 MB / 3.741 GB, free: 237.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/8.705, allocations: 1.648 MB / 3.743 GB, free: 235.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/8.705, allocations: 4 kB / 3.743 GB, free: 235.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/8.705, allocations: 4 kB / 3.743 GB, free: 235.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/8.705, allocations: 59.31 kB / 3.743 GB, free: 235.6 MB / 1.151 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.009511/8.715, allocations: 7.385 MB / 3.75 GB, free: 227.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/8.716, allocations: 1.439 MB / 3.751 GB, free: 226.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007093/8.717, allocations: 0.6378 MB / 3.752 GB, free: 225.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006044/8.718, allocations: 0.653 MB / 3.753 GB, free: 225 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/8.719, allocations: 0.8191 MB / 3.753 GB, free: 224.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=142): time 4.128e-06/8.719, allocations: 3.984 kB / 3.753 GB, free: 224.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=142): time 0.003078/8.722, allocations: 1.474 MB / 3.755 GB, free: 222.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/8.722, allocations: 278.3 kB / 3.755 GB, free: 222.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/8.724, allocations: 1.722 MB / 3.757 GB, free: 220.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/8.724, allocations: 33.7 kB / 3.757 GB, free: 220.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000547/8.725, allocations: 0.8652 MB / 3.758 GB, free: 219.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/8.725, allocations: 460.9 kB / 3.758 GB, free: 219.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/8.725, allocations: 0 / 3.758 GB, free: 219.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/8.725, allocations: 353.9 kB / 3.758 GB, free: 218.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/8.726, allocations: 482.5 kB / 3.759 GB, free: 218.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/8.727, allocations: 0.6466 MB / 3.76 GB, free: 217.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/8.727, allocations: 0.5723 MB / 3.76 GB, free: 217.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/8.727, allocations: 4 kB / 3.76 GB, free: 217.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002577/8.73, allocations: 1.481 MB / 3.762 GB, free: 215.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/8.73, allocations: 0.6336 MB / 3.762 GB, free: 215 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/8.73, allocations: 7.984 kB / 3.762 GB, free: 215 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007274/8.731, allocations: 134.5 kB / 3.762 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/8.732, allocations: 315.5 kB / 3.763 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/8.735, allocations: 4.025 MB / 3.767 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/8.737, allocations: 147 kB / 3.767 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/8.737, allocations: 63.97 kB / 3.767 GB, free: 209.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/8.737, allocations: 4 kB / 3.767 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002296/8.739, allocations: 1.286 MB / 3.768 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/8.739, allocations: 4 kB / 3.768 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/8.74, allocations: 138.8 kB / 3.768 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/8.741, allocations: 311.5 kB / 3.768 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/8.744, allocations: 4.027 MB / 3.772 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/8.746, allocations: 135 kB / 3.773 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/8.746, allocations: 59.97 kB / 3.773 GB, free: 203.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004586/8.746, allocations: 128.7 kB / 3.773 GB, free: 203.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003086/8.749, allocations: 1.442 MB / 3.774 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006272/8.75, allocations: 177.9 kB / 3.774 GB, free: 201.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/8.754, allocations: 1.806 MB / 3.776 GB, free: 200 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/8.754, allocations: 16 kB / 3.776 GB, free: 200 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/8.754, allocations: 4 kB / 3.776 GB, free: 200 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002254/8.756, allocations: 1.427 MB / 3.777 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006234/8.762, allocations: 3.637 MB / 3.781 GB, free: 194.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/8.762, allocations: 0 / 3.781 GB, free: 194.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/8.764, allocations: 315.6 kB / 3.781 GB, free: 194.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006259/8.764, allocations: 142.4 kB / 3.781 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/8.764, allocations: 27.92 kB / 3.781 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/8.767, allocations: 4.049 MB / 3.785 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/8.767, allocations: 0 / 3.785 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00368/8.771, allocations: 2.437 MB / 3.788 GB, free: 187.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/8.772, allocations: 0.5882 MB / 3.788 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004704/8.772, allocations: 4 kB / 3.788 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/8.774, allocations: 115.7 kB / 3.789 GB, free: 186.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/8.774, allocations: 105.1 kB / 3.789 GB, free: 186.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/8.774, allocations: 71.95 kB / 3.789 GB, free: 186.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001757/8.776, allocations: 1.353 MB / 3.79 GB, free: 185.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.776, allocations: 0 / 3.79 GB, free: 185.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003635/8.78, allocations: 1.242 MB / 3.791 GB, free: 184 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007011/8.787, allocations: 4.987 MB / 3.796 GB, free: 179.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003465/8.79, allocations: 2.6 MB / 3.799 GB, free: 176.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/8.79, allocations: 4.438 kB / 3.799 GB, free: 176.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/8.791, allocations: 1.025 MB / 3.8 GB, free: 175.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/8.795, allocations: 0.5869 MB / 3.8 GB, free: 175 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008666/8.803, allocations: 3.592 MB / 3.804 GB, free: 171.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/8.805, allocations: 1.559 MB / 3.805 GB, free: 169.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004008/8.809, allocations: 1.05 MB / 3.806 GB, free: 168.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009888/8.81, allocations: 0.8117 MB / 3.807 GB, free: 167.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.102e-06/8.81, allocations: 0 / 3.807 GB, free: 167.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09435/8.904, allocations: 61.77 MB / 3.867 GB, free: 106.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/8.904, allocations: 166.9 kB / 3.868 GB, free: 106.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.312/13.22, allocations: 3.938 kB / 3.868 GB, free: 106.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)