Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.ChimneyShaftNoVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftNoVolume",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.8039/0.8039, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 180.9 kB / 182.2 MB, free: 9.438 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.395/1.395, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0009441/0.0009442, allocations: 91.84 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001687/0.001687, allocations: 276.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.71e-05, allocations: 0 / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4033, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.554, allocations: 419.5 MB / 1.167 GB, free: 273.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.555, allocations: 86.67 kB / 1.167 GB, free: 273.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.044/2.599, allocations: 333.4 MB / 1.493 GB, free: 155.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/2.599, allocations: 6.156 kB / 1.493 GB, free: 155.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.307e-05/2.599, allocations: 28.41 kB / 1.493 GB, free: 155.3 MB / 0.698 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.002333/2.601, allocations: 1.325 MB / 1.494 GB, free: 154.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/2.601, allocations: 10.94 kB / 1.494 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/2.602, allocations: 141.5 kB / 1.494 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/2.603, allocations: 0.9617 MB / 1.495 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/2.603, allocations: 26.59 kB / 1.495 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.758e-05/2.603, allocations: 44.22 kB / 1.495 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008338/2.604, allocations: 0.5332 MB / 1.496 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009923/2.605, allocations: 0.7094 MB / 1.496 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/2.605, allocations: 7.406 kB / 1.496 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.677e-05/2.605, allocations: 0 / 1.496 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/2.605, allocations: 19.62 kB / 1.497 GB, free: 154.2 MB / 0.698 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.003629/2.609, allocations: 3.633 MB / 1.5 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/2.61, allocations: 0.4911 MB / 1.501 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/2.61, allocations: 260.4 kB / 1.501 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007664/2.611, allocations: 1.244 MB / 1.502 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004044/2.611, allocations: 291.2 kB / 1.502 GB, free: 150.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 2.063e-06/2.611, allocations: 0 / 1.502 GB, free: 150.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.001437/2.613, allocations: 0.627 MB / 1.503 GB, free: 150.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/2.613, allocations: 87.14 kB / 1.503 GB, free: 150.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006756/2.613, allocations: 0.641 MB / 1.504 GB, free: 150.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/2.613, allocations: 29.64 kB / 1.504 GB, free: 150.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/2.614, allocations: 469.5 kB / 1.504 GB, free: 150.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/2.614, allocations: 208.5 kB / 1.504 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/2.614, allocations: 3.938 kB / 1.504 GB, free: 150.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.34e-05/2.614, allocations: 332.3 kB / 1.505 GB, free: 150 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/2.614, allocations: 171.5 kB / 1.505 GB, free: 149.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/2.614, allocations: 312.2 kB / 1.505 GB, free: 149.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/2.615, allocations: 259.3 kB / 1.505 GB, free: 149.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/2.615, allocations: 3.062 kB / 1.505 GB, free: 149.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00118/2.616, allocations: 0.6522 MB / 1.506 GB, free: 149.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001754/2.617, allocations: 0.8834 MB / 1.507 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/2.617, allocations: 0 / 1.507 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002826/2.617, allocations: 84.2 kB / 1.507 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/2.617, allocations: 121.5 kB / 1.507 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000531/2.618, allocations: 0.6702 MB / 1.508 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/2.619, allocations: 79.05 kB / 1.508 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.554e-05/2.619, allocations: 36.38 kB / 1.508 GB, free: 148.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/2.619, allocations: 3.906 kB / 1.508 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/2.62, allocations: 0.5347 MB / 1.508 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/2.62, allocations: 2.562 kB / 1.508 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/2.62, allocations: 85.61 kB / 1.508 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/2.62, allocations: 119.1 kB / 1.508 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004859/2.621, allocations: 0.6765 MB / 1.509 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/2.621, allocations: 65.8 kB / 1.509 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/2.621, allocations: 29.17 kB / 1.509 GB, free: 147.7 MB / 0.698 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.000154/2.622, allocations: 123.3 kB / 1.509 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001194/2.623, allocations: 0.631 MB / 1.51 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/2.623, allocations: 85.94 kB / 1.51 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/2.625, allocations: 0.8855 MB / 1.511 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/2.625, allocations: 17.23 kB / 1.511 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/2.625, allocations: 0 / 1.511 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/2.626, allocations: 0.8121 MB / 1.512 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/2.629, allocations: 1.711 MB / 1.513 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/2.629, allocations: 0 / 1.513 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/2.629, allocations: 109.9 kB / 1.514 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000378/2.629, allocations: 137.4 kB / 1.514 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/2.629, allocations: 18.56 kB / 1.514 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007594/2.63, allocations: 1.253 MB / 1.515 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/2.63, allocations: 3.594 kB / 1.515 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/2.632, allocations: 1.217 MB / 1.516 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/2.632, allocations: 268.6 kB / 1.516 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/2.632, allocations: 3.875 kB / 1.516 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005394/2.633, allocations: 51.06 kB / 1.516 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/2.633, allocations: 52.16 kB / 1.516 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/2.633, allocations: 25.22 kB / 1.516 GB, free: 145.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005001/2.634, allocations: 0.5028 MB / 1.517 GB, free: 145.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/2.634, allocations: 3.656 kB / 1.517 GB, free: 145.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001484/2.635, allocations: 0.5967 MB / 1.518 GB, free: 145 MB / 0.698 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.00339/2.638, allocations: 2.68 MB / 1.52 GB, free: 144 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001411/2.64, allocations: 0.8655 MB / 1.521 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.64, allocations: 0 / 1.521 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005195/2.64, allocations: 351.2 kB / 1.521 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/2.642, allocations: 356.6 kB / 1.522 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/2.645, allocations: 1.839 MB / 1.523 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/2.646, allocations: 1.095 MB / 1.525 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001014/2.647, allocations: 276.7 kB / 1.525 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/2.647, allocations: 389.9 kB / 1.525 GB, free: 142.7 MB / 0.698 GB Notification: Performance of SimCode: time 8.42e-07/2.647, allocations: 2.344 kB / 1.525 GB, free: 142.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05404/2.701, allocations: 28.76 MB / 1.553 GB, free: 141.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/2.701, allocations: 187.6 kB / 1.553 GB, free: 141.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/5.592, allocations: 3.969 kB / 1.553 GB, free: 141.1 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)