Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 285.4 MB / 298 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 180.8 kB / 366.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.1 MB / 0.6248 GB, free: 7.734 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 95.84 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.336e-05, allocations: 0 / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7466/0.7466, allocations: 115.3 MB / 0.971 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.918, allocations: 448.7 MB / 1.409 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/1.919, allocations: 84.2 kB / 1.409 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.317/3.236, allocations: 329.2 MB / 1.731 GB, free: 247.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.757e-06/3.236, allocations: 0 / 1.731 GB, free: 247.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001564/3.236, allocations: 34.81 kB / 1.731 GB, free: 247.1 MB / 0.948 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.003907/3.24, allocations: 1.327 MB / 1.732 GB, free: 246.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/3.24, allocations: 7.812 kB / 1.732 GB, free: 246.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/3.24, allocations: 131.5 kB / 1.732 GB, free: 246.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005384/3.241, allocations: 137.4 kB / 1.732 GB, free: 246.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/3.244, allocations: 0.9689 MB / 1.733 GB, free: 245.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.292e-05/3.244, allocations: 57.44 kB / 1.733 GB, free: 245.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/3.244, allocations: 82.91 kB / 1.733 GB, free: 245.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/3.246, allocations: 0.8223 MB / 1.734 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/3.246, allocations: 10.44 kB / 1.734 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/3.246, allocations: 36.19 kB / 1.734 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/3.246, allocations: 23.31 kB / 1.734 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/3.247, allocations: 0.5751 MB / 1.735 GB, free: 244.9 MB / 0.948 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.007172/3.255, allocations: 3.79 MB / 1.739 GB, free: 242 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/3.256, allocations: 0.5116 MB / 1.739 GB, free: 241.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000664/3.257, allocations: 274 kB / 1.739 GB, free: 241.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/3.258, allocations: 1.243 MB / 1.74 GB, free: 240.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008425/3.259, allocations: 315.4 kB / 1.741 GB, free: 240 MB / 0.948 GB Notification: Performance of pre-optimization done (n=63): time 5.32e-06/3.259, allocations: 0 / 1.741 GB, free: 240 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.00211/3.261, allocations: 0.6279 MB / 1.741 GB, free: 239.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/3.261, allocations: 87.2 kB / 1.741 GB, free: 239.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/3.263, allocations: 0.7716 MB / 1.742 GB, free: 239.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.035e-05/3.263, allocations: 37.64 kB / 1.742 GB, free: 239.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/3.263, allocations: 470.7 kB / 1.743 GB, free: 238.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/3.264, allocations: 219.9 kB / 1.743 GB, free: 238.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/3.264, allocations: 19.09 kB / 1.743 GB, free: 238.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/3.264, allocations: 332.5 kB / 1.743 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/3.264, allocations: 186.4 kB / 1.743 GB, free: 238.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/3.265, allocations: 319.6 kB / 1.744 GB, free: 237.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006208/3.266, allocations: 231.7 kB / 1.744 GB, free: 237.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/3.266, allocations: 0 / 1.744 GB, free: 237.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002044/3.268, allocations: 0.6719 MB / 1.745 GB, free: 237.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002591/3.268, allocations: 0.8784 MB / 1.745 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/3.268, allocations: 0 / 1.745 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009994/3.269, allocations: 102.6 kB / 1.746 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/3.27, allocations: 127 kB / 1.746 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007525/3.271, allocations: 0.6608 MB / 1.746 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/3.272, allocations: 103.2 kB / 1.746 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/3.272, allocations: 27.61 kB / 1.746 GB, free: 235.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/3.272, allocations: 3.938 kB / 1.746 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001571/3.274, allocations: 0.5575 MB / 1.747 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/3.274, allocations: 3.719 kB / 1.747 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007293/3.275, allocations: 105.9 kB / 1.747 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000766/3.275, allocations: 113.7 kB / 1.747 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006779/3.276, allocations: 0.662 MB / 1.748 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/3.278, allocations: 98.19 kB / 1.748 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.503e-05/3.278, allocations: 33.92 kB / 1.748 GB, free: 234.8 MB / 0.948 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.00029/3.278, allocations: 143 kB / 1.748 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/3.278, allocations: 97.75 kB / 1.748 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/3.281, allocations: 0.9276 MB / 1.749 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/3.281, allocations: 11.52 kB / 1.749 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/3.281, allocations: 0 / 1.749 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001759/3.283, allocations: 0.8285 MB / 1.75 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/3.288, allocations: 1.854 MB / 1.752 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/3.288, allocations: 0 / 1.752 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009134/3.289, allocations: 109.4 kB / 1.752 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/3.29, allocations: 156.7 kB / 1.752 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.716e-05/3.29, allocations: 18.98 kB / 1.752 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/3.291, allocations: 1.24 MB / 1.753 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/3.291, allocations: 6.875 kB / 1.753 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/3.294, allocations: 1.248 MB / 1.754 GB, free: 230.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008596/3.295, allocations: 280.4 kB / 1.755 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/3.295, allocations: 15.94 kB / 1.755 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/3.296, allocations: 65.09 kB / 1.755 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/3.296, allocations: 54.02 kB / 1.755 GB, free: 230 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.912e-05/3.296, allocations: 30.8 kB / 1.755 GB, free: 230 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001267/3.298, allocations: 0.6025 MB / 1.755 GB, free: 229.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-07/3.298, allocations: 0 / 1.755 GB, free: 229.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002439/3.3, allocations: 0.6265 MB / 1.756 GB, free: 229.5 MB / 0.948 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.0051/3.305, allocations: 2.73 MB / 1.759 GB, free: 227.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002249/3.308, allocations: 0.9199 MB / 1.76 GB, free: 227.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/3.308, allocations: 2.438 kB / 1.76 GB, free: 227.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007723/3.308, allocations: 368.3 kB / 1.76 GB, free: 227.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/3.311, allocations: 414.6 kB / 1.76 GB, free: 227.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/3.314, allocations: 1.915 MB / 1.762 GB, free: 226.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/3.315, allocations: 1.102 MB / 1.763 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001084/3.316, allocations: 289.1 kB / 1.764 GB, free: 225 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/3.316, allocations: 397.5 kB / 1.764 GB, free: 224.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/3.316, allocations: 0 / 1.764 GB, free: 224.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05454/3.371, allocations: 34.73 MB / 1.798 GB, free: 196 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/3.371, allocations: 235.6 kB / 1.798 GB, free: 195.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.385/6.757, allocations: 0 / 1.798 GB, free: 195.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)