Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 249.5 MB / 257 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 174.1 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009309/0.0009308, allocations: 91.08 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.184e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.237, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.497/1.734, allocations: 442.7 MB / 1.318 GB, free: 302 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.735, allocations: 83.95 kB / 1.318 GB, free: 302 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.113/2.848, allocations: 327.2 MB / 1.637 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.784e-06/2.848, allocations: 2.812 kB / 1.637 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001121/2.848, allocations: 30.19 kB / 1.637 GB, free: 191.8 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002597/2.85, allocations: 1.327 MB / 1.639 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/2.85, allocations: 14.05 kB / 1.639 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003463/2.851, allocations: 139.7 kB / 1.639 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/2.853, allocations: 0.9655 MB / 1.64 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/2.853, allocations: 25.22 kB / 1.64 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/2.853, allocations: 46.78 kB / 1.64 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009613/2.854, allocations: 0.5248 MB / 1.64 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/2.855, allocations: 0.7194 MB / 1.641 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/2.855, allocations: 5.812 kB / 1.641 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/2.855, allocations: 1.125 kB / 1.641 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/2.855, allocations: 19 kB / 1.641 GB, free: 190.8 MB / 0.8698 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.0047/2.86, allocations: 3.634 MB / 1.644 GB, free: 189 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008671/2.861, allocations: 0.4958 MB / 1.645 GB, free: 189 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/2.861, allocations: 257.1 kB / 1.645 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008293/2.862, allocations: 1.243 MB / 1.646 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004931/2.862, allocations: 294.5 kB / 1.647 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=63): time 4.068e-06/2.863, allocations: 0 / 1.647 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.001834/2.864, allocations: 0.6295 MB / 1.647 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/2.864, allocations: 91.03 kB / 1.647 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009954/2.865, allocations: 0.644 MB / 1.648 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/2.865, allocations: 26.77 kB / 1.648 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/2.866, allocations: 474.9 kB / 1.649 GB, free: 187 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/2.866, allocations: 209.7 kB / 1.649 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/2.866, allocations: 0 / 1.649 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.391e-05/2.866, allocations: 333.1 kB / 1.649 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/2.867, allocations: 175.5 kB / 1.649 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/2.867, allocations: 309.3 kB / 1.649 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/2.868, allocations: 257.2 kB / 1.65 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/2.868, allocations: 0 / 1.65 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001517/2.869, allocations: 0.6518 MB / 1.65 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002654/2.87, allocations: 0.8802 MB / 1.651 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/2.87, allocations: 2.25 kB / 1.651 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000418/2.87, allocations: 86.31 kB / 1.651 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/2.87, allocations: 124.1 kB / 1.651 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006704/2.871, allocations: 0.6711 MB / 1.652 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007573/2.872, allocations: 84.72 kB / 1.652 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-05/2.872, allocations: 28.42 kB / 1.652 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/2.872, allocations: 5.312 kB / 1.652 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001204/2.873, allocations: 0.5347 MB / 1.653 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/2.873, allocations: 3.406 kB / 1.653 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/2.873, allocations: 90.48 kB / 1.653 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/2.874, allocations: 117.5 kB / 1.653 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004847/2.874, allocations: 0.674 MB / 1.654 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006505/2.875, allocations: 69.75 kB / 1.654 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/2.875, allocations: 33.83 kB / 1.654 GB, free: 184.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001845/2.875, allocations: 115.8 kB / 1.654 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001418/2.877, allocations: 0.6271 MB / 1.654 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/2.877, allocations: 98.17 kB / 1.655 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/2.879, allocations: 0.8818 MB / 1.655 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/2.879, allocations: 14.78 kB / 1.655 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/2.879, allocations: 6.094 kB / 1.655 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/2.88, allocations: 0.8115 MB / 1.656 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/2.883, allocations: 1.717 MB / 1.658 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/2.883, allocations: 3.906 kB / 1.658 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/2.883, allocations: 100.7 kB / 1.658 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/2.884, allocations: 141.8 kB / 1.658 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/2.884, allocations: 15.2 kB / 1.658 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007585/2.885, allocations: 1.254 MB / 1.659 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/2.885, allocations: 7.312 kB / 1.659 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/2.886, allocations: 1.218 MB / 1.661 GB, free: 182 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/2.887, allocations: 267.3 kB / 1.661 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/2.887, allocations: 3.688 kB / 1.661 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/2.888, allocations: 57.98 kB / 1.661 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/2.888, allocations: 48.27 kB / 1.661 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/2.888, allocations: 26.91 kB / 1.661 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006492/2.888, allocations: 0.5011 MB / 1.661 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.81e-07/2.888, allocations: 0 / 1.661 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001744/2.89, allocations: 0.6026 MB / 1.662 GB, free: 181.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003428/2.894, allocations: 2.665 MB / 1.665 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001483/2.895, allocations: 0.8665 MB / 1.665 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/2.895, allocations: 0 / 1.665 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005057/2.896, allocations: 354.6 kB / 1.666 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/2.897, allocations: 352.8 kB / 1.666 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/2.901, allocations: 1.843 MB / 1.668 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/2.901, allocations: 1.097 MB / 1.669 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001023/2.902, allocations: 284.3 kB / 1.669 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/2.903, allocations: 389.8 kB / 1.67 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/2.903, allocations: 0 / 1.67 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05325/2.956, allocations: 28.77 MB / 1.698 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/2.956, allocations: 192.5 kB / 1.698 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/5.729, allocations: 0 / 1.698 GB, free: 178.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)