Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7911/0.7911, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 184.4 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009296/0.0009294, allocations: 91.64 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 271.5 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.415e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4314, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.39/4.821, allocations: 1.89 GB / 2.655 GB, free: 116.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/4.821, allocations: 86.83 kB / 2.655 GB, free: 116.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.141/8.962, allocations: 1.073 GB / 3.728 GB, free: 86.19 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.414e-06/8.962, allocations: 1.688 kB / 3.728 GB, free: 86.19 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003428/8.962, allocations: 51.25 kB / 3.728 GB, free: 86.18 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.01204/8.975, allocations: 2.154 MB / 3.73 GB, free: 85.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.072e-05/8.975, allocations: 11.22 kB / 3.73 GB, free: 85.09 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001015/8.976, allocations: 202.6 kB / 3.73 GB, free: 85.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004778/8.98, allocations: 0.5191 MB / 3.731 GB, free: 84.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/8.986, allocations: 1.244 MB / 3.732 GB, free: 84.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/8.986, allocations: 103.5 kB / 3.732 GB, free: 84.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006825/8.987, allocations: 146.6 kB / 3.732 GB, free: 84.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005457/8.992, allocations: 1.616 MB / 3.734 GB, free: 84.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/8.992, allocations: 0 / 3.734 GB, free: 84.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003698/8.993, allocations: 59.64 kB / 3.734 GB, free: 84.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/8.993, allocations: 57.36 kB / 3.734 GB, free: 84.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/8.997, allocations: 1.35 MB / 3.735 GB, free: 84.25 MB / 0.7136 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.01229/9.009, allocations: 7.156 MB / 3.742 GB, free: 80.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/9.011, allocations: 1.14 MB / 3.743 GB, free: 79.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008264/9.012, allocations: 0.5811 MB / 3.744 GB, free: 79.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007792/9.012, allocations: 0.8753 MB / 3.745 GB, free: 78.47 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009659/9.013, allocations: 0.5749 MB / 3.745 GB, free: 78.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 3.306e-06/9.013, allocations: 0 / 3.745 GB, free: 78.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.002365/9.016, allocations: 1.107 MB / 3.746 GB, free: 77.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/9.016, allocations: 97.03 kB / 3.747 GB, free: 77.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/9.018, allocations: 1.012 MB / 3.748 GB, free: 77.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/9.018, allocations: 49.42 kB / 3.748 GB, free: 77.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006185/9.019, allocations: 0.6806 MB / 3.748 GB, free: 76.47 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/9.019, allocations: 381.6 kB / 3.749 GB, free: 76.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/9.019, allocations: 27.06 kB / 3.749 GB, free: 76.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/9.019, allocations: 347.2 kB / 3.749 GB, free: 75.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/9.02, allocations: 398 kB / 3.749 GB, free: 75.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007635/9.021, allocations: 0.5713 MB / 3.75 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/9.021, allocations: 482.1 kB / 3.75 GB, free: 74.99 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/9.021, allocations: 0 / 3.75 GB, free: 74.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002011/9.023, allocations: 1.168 MB / 3.751 GB, free: 74.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002416/9.024, allocations: 0.9908 MB / 3.752 GB, free: 73.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/9.024, allocations: 0 / 3.752 GB, free: 73.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/9.024, allocations: 8 kB / 3.752 GB, free: 73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/9.025, allocations: 226.5 kB / 3.753 GB, free: 72.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/9.025, allocations: 12 kB / 3.753 GB, free: 72.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/9.027, allocations: 176.7 kB / 3.753 GB, free: 72.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/9.027, allocations: 39.98 kB / 3.753 GB, free: 72.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/9.027, allocations: 4 kB / 3.753 GB, free: 72.57 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001571/9.028, allocations: 1.015 MB / 3.754 GB, free: 71.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/9.028, allocations: 4.172 kB / 3.754 GB, free: 71.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/9.028, allocations: 8 kB / 3.754 GB, free: 71.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000871/9.029, allocations: 215.7 kB / 3.754 GB, free: 71.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/9.029, allocations: 11.94 kB / 3.754 GB, free: 71.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/9.031, allocations: 161.2 kB / 3.754 GB, free: 71.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-05/9.031, allocations: 43.98 kB / 3.754 GB, free: 71.13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (126): * Single equations (assignments): 126 * 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 prepare postOptimizeDAE: time 0.0002732/9.031, allocations: 161.9 kB / 3.754 GB, free: 70.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003865/9.032, allocations: 146.2 kB / 3.755 GB, free: 70.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/9.034, allocations: 1.216 MB / 3.756 GB, free: 69.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/9.034, allocations: 11.66 kB / 3.756 GB, free: 69.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/9.034, allocations: 4 kB / 3.756 GB, free: 69.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001307/9.035, allocations: 0.9639 MB / 3.757 GB, free: 68.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005377/9.041, allocations: 3.147 MB / 3.76 GB, free: 65.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/9.041, allocations: 4 kB / 3.76 GB, free: 65.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/9.042, allocations: 242.8 kB / 3.76 GB, free: 65.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.157e-05/9.042, allocations: 4 kB / 3.76 GB, free: 65.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/9.042, allocations: 31.98 kB / 3.76 GB, free: 65.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/9.042, allocations: 8 kB / 3.76 GB, free: 65.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/9.042, allocations: 4 kB / 3.76 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/9.045, allocations: 2.076 MB / 3.762 GB, free: 62.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008917/9.046, allocations: 372.4 kB / 3.762 GB, free: 62.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/9.046, allocations: 28 kB / 3.763 GB, free: 62.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/9.047, allocations: 112.4 kB / 3.763 GB, free: 62.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/9.048, allocations: 74.69 kB / 3.763 GB, free: 62.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.398e-05/9.048, allocations: 43.94 kB / 3.763 GB, free: 62.31 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001297/9.049, allocations: 0.792 MB / 3.764 GB, free: 61.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.313e-06/9.049, allocations: 1.938 kB / 3.764 GB, free: 61.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003561/9.053, allocations: 1.107 MB / 3.765 GB, free: 60.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * 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 (111): * Single equations (assignments): 109 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007915/9.061, allocations: 6.054 MB / 3.771 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002907/9.063, allocations: 1.608 MB / 3.772 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/9.063, allocations: 4 kB / 3.772 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000884/9.064, allocations: 0.5339 MB / 3.773 GB, free: 52.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004648/9.069, allocations: 0.8052 MB / 3.773 GB, free: 51.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007145/9.076, allocations: 3.119 MB / 3.776 GB, free: 48.64 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/9.077, allocations: 1.406 MB / 3.778 GB, free: 47.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002945/9.08, allocations: 0.5842 MB / 3.778 GB, free: 46.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008288/9.081, allocations: 0.5891 MB / 3.779 GB, free: 46.05 MB / 0.7136 GB Notification: Performance of SimCode: time 1.173e-06/9.081, allocations: 0 / 3.779 GB, free: 46.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7527/9.834, allocations: 86.83 MB / 3.864 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/9.834, allocations: 223.2 kB / 3.864 GB, free: 100 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.076/14.91, allocations: 3.375 kB / 3.864 GB, free: 100 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)