Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",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.7943/0.7943, allocations: 143.3 MB / 158.3 MB, free: 5.793 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.001099/0.001099, allocations: 179.1 kB / 191.5 MB, free: 5.754 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.454/1.454, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.0008535/0.0008534, allocations: 88.34 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001843/0.001843, allocations: 262.3 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004403, allocations: 12.31 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1671, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.56/10.72, allocations: 4.399 GB / 5.173 GB, free: 236.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/10.72, allocations: 92.27 kB / 5.173 GB, free: 236.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.998/13.72, allocations: 0.9753 GB / 6.148 GB, free: 66.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.575e-06/13.72, allocations: 0 / 6.148 GB, free: 66.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002971/13.72, allocations: 63.98 kB / 6.148 GB, free: 66.05 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01448/13.74, allocations: 3.685 MB / 6.152 GB, free: 62.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/13.74, allocations: 8.031 kB / 6.152 GB, free: 62.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001954/13.74, allocations: 387.8 kB / 6.152 GB, free: 61.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005515/13.74, allocations: 0.7496 MB / 6.153 GB, free: 61.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006077/13.75, allocations: 1.988 MB / 6.155 GB, free: 59.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/13.75, allocations: 205.4 kB / 6.155 GB, free: 58.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/13.75, allocations: 271.9 kB / 6.155 GB, free: 58.65 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008617/13.76, allocations: 3.154 MB / 6.158 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.872e-05/13.76, allocations: 11.88 kB / 6.158 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003423/13.76, allocations: 112 kB / 6.158 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/13.76, allocations: 117.5 kB / 6.159 GB, free: 55.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006866/13.77, allocations: 4.475 MB / 6.163 GB, free: 50.73 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01727/13.78, allocations: 10.8 MB / 6.173 GB, free: 39.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007007/13.79, allocations: 4.847 MB / 6.178 GB, free: 34.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/13.79, allocations: 0.8566 MB / 6.179 GB, free: 33.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/13.79, allocations: 77.7 kB / 6.179 GB, free: 33.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=399): time 7.444e-06/13.79, allocations: 3.938 kB / 6.179 GB, free: 33.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=399): time 0.01113/13.8, allocations: 6.056 MB / 6.185 GB, free: 27.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/13.8, allocations: 90.55 kB / 6.185 GB, free: 27.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/13.81, allocations: 1.115 MB / 6.186 GB, free: 25.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003979/13.81, allocations: 93.7 kB / 6.186 GB, free: 25.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/13.81, allocations: 0.8056 MB / 6.187 GB, free: 25.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/13.81, allocations: 1.328 MB / 6.188 GB, free: 23.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/13.81, allocations: 71.94 kB / 6.188 GB, free: 23.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002254/13.81, allocations: 449 kB / 6.189 GB, free: 23.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002451/13.81, allocations: 1.584 MB / 6.19 GB, free: 21.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002593/13.81, allocations: 1.9 MB / 6.192 GB, free: 19.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/13.82, allocations: 1.886 MB / 6.194 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/13.82, allocations: 0 / 6.194 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006297/13.82, allocations: 4.164 MB / 6.198 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/13.82, allocations: 4 kB / 6.198 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/13.82, allocations: 11.98 kB / 6.198 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.395e-05/13.82, allocations: 16 kB / 6.198 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/13.83, allocations: 0.6831 MB / 6.199 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.909e-05/13.83, allocations: 23.92 kB / 6.199 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/13.83, allocations: 357.2 kB / 6.199 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00034/13.83, allocations: 116 kB / 6.199 GB, free: 12.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.001716/13.83, allocations: 0.728 MB / 6.2 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007819/13.83, allocations: 241 kB / 6.2 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007725/13.84, allocations: 4.615 MB / 6.205 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/13.84, allocations: 43.95 kB / 6.205 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.506e-05/13.84, allocations: 0 / 6.205 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005544/13.85, allocations: 3.927 MB / 6.209 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006267/13.85, allocations: 3.32 MB / 6.212 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/13.85, allocations: 0 / 6.212 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003294/13.85, allocations: 0.6631 MB / 6.213 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005381/13.86, allocations: 142.5 kB / 6.213 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003328/13.86, allocations: 79.98 kB / 6.213 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004113/13.86, allocations: 4.574 MB / 6.217 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/13.86, allocations: 4 kB / 6.217 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/13.87, allocations: 6.968 MB / 6.224 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/13.87, allocations: 0.7705 MB / 6.225 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005204/13.87, allocations: 68 kB / 6.225 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002462/13.88, allocations: 207.7 kB / 6.225 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004355/13.88, allocations: 234.5 kB / 6.225 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/13.88, allocations: 112 kB / 6.225 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001359/13.88, allocations: 0.8756 MB / 6.226 GB, free: 152 kB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/13.88, allocations: 0 / 6.226 GB, free: 152 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.429/14.31, allocations: 1.306 MB / 6.227 GB, free: 98.97 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01388/14.32, allocations: 9.743 MB / 6.237 GB, free: 97.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009571/14.33, allocations: 4.024 MB / 6.241 GB, free: 97.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/14.33, allocations: 1.188 kB / 6.241 GB, free: 97.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005108/14.34, allocations: 2.542 MB / 6.243 GB, free: 97.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005684/14.34, allocations: 0.9751 MB / 6.244 GB, free: 97.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/14.36, allocations: 10.99 MB / 6.255 GB, free: 92.19 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/14.36, allocations: 1.988 MB / 6.257 GB, free: 91.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004182/14.36, allocations: 1.216 MB / 6.258 GB, free: 91.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/14.37, allocations: 1.079 MB / 6.259 GB, free: 91.4 MB / 0.7292 GB Notification: Performance of SimCode: time 9.52e-07/14.37, allocations: 0 / 6.259 GB, free: 91.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1466/14.51, allocations: 98.43 MB / 6.355 GB, free: 87.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/14.51, allocations: 206.1 kB / 6.356 GB, free: 87.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.493/20.01, allocations: 0 / 6.356 GB, free: 87.62 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)