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.9335/0.9335, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001086/0.001086, allocations: 183.8 kB / 182.2 MB, free: 9.461 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.332/1.332, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009915/0.0009915, allocations: 88.03 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 283.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.713e-05/1.715e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3725, allocations: 82.78 MB / 0.7575 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.205/9.577, allocations: 4.398 GB / 5.156 GB, free: 42.02 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/9.578, allocations: 89.75 kB / 5.156 GB, free: 41.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.332/12.91, allocations: 0.9644 GB / 6.12 GB, free: 94.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/12.91, allocations: 0 / 6.12 GB, free: 94.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001647/12.91, allocations: 72.06 kB / 6.12 GB, free: 94.61 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.00994/12.92, allocations: 3.297 MB / 6.123 GB, free: 93.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/12.92, allocations: 7.875 kB / 6.123 GB, free: 93.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/12.92, allocations: 0.7511 MB / 6.124 GB, free: 93.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004624/12.93, allocations: 1.974 MB / 6.126 GB, free: 92.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/12.93, allocations: 85.41 kB / 6.126 GB, free: 92.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006976/12.93, allocations: 162.1 kB / 6.126 GB, free: 92.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006725/12.94, allocations: 4.129 MB / 6.13 GB, free: 92.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004802/12.94, allocations: 2.722 MB / 6.133 GB, free: 92.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.404e-05/12.94, allocations: 0 / 6.133 GB, free: 92.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/12.94, allocations: 6.859 kB / 6.133 GB, free: 92.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.616e-05/12.94, allocations: 116.7 kB / 6.133 GB, free: 92.71 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.01438/12.96, allocations: 10.35 MB / 6.143 GB, free: 88.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005526/12.96, allocations: 4.786 MB / 6.148 GB, free: 88.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/12.96, allocations: 2.332 MB / 6.15 GB, free: 88.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008831/12.97, allocations: 0.8635 MB / 6.151 GB, free: 87.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/12.97, allocations: 85.06 kB / 6.151 GB, free: 87.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=399): time 6.762e-06/12.97, allocations: 0 / 6.151 GB, free: 87.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=399): time 0.008791/12.97, allocations: 4.121 MB / 6.155 GB, free: 87.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/12.97, allocations: 96.34 kB / 6.155 GB, free: 87.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/12.98, allocations: 1.015 MB / 6.156 GB, free: 87.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003474/12.98, allocations: 29.42 kB / 6.156 GB, free: 87.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/12.98, allocations: 0.7967 MB / 6.157 GB, free: 86.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/12.98, allocations: 1.28 MB / 6.158 GB, free: 86.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/12.98, allocations: 3.938 kB / 6.158 GB, free: 86.08 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002324/12.98, allocations: 441.7 kB / 6.159 GB, free: 85.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/12.98, allocations: 1.481 MB / 6.16 GB, free: 85.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/12.98, allocations: 1.758 MB / 6.162 GB, free: 85.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004678/12.99, allocations: 2.122 MB / 6.164 GB, free: 85.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/12.99, allocations: 3.906 kB / 6.164 GB, free: 85.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008739/13, allocations: 4.161 MB / 6.168 GB, free: 84.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/13, allocations: 7.703 kB / 6.168 GB, free: 84.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/13, allocations: 3.938 kB / 6.168 GB, free: 84.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.042e-05/13, allocations: 22.03 kB / 6.168 GB, free: 84.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/13, allocations: 0.6794 MB / 6.169 GB, free: 84.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-05/13, allocations: 24.27 kB / 6.169 GB, free: 84.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/13, allocations: 293.7 kB / 6.169 GB, free: 83.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005283/13, allocations: 121.9 kB / 6.169 GB, free: 83.88 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 () * 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.0008376/13, allocations: 147.5 kB / 6.169 GB, free: 83.77 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008786/13.01, allocations: 4.061 MB / 6.173 GB, free: 82.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008661/13.01, allocations: 237.6 kB / 6.173 GB, free: 82.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009454/13.02, allocations: 4.564 MB / 6.178 GB, free: 80.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/13.02, allocations: 37.5 kB / 6.178 GB, free: 80.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/13.02, allocations: 0 / 6.178 GB, free: 80.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007192/13.03, allocations: 3.968 MB / 6.182 GB, free: 79.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/13.05, allocations: 7.915 MB / 6.189 GB, free: 72.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/13.05, allocations: 0 / 6.189 GB, free: 72.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003011/13.05, allocations: 0.666 MB / 6.19 GB, free: 72.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/13.05, allocations: 138.2 kB / 6.19 GB, free: 72.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003666/13.05, allocations: 30.75 kB / 6.19 GB, free: 72.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00316/13.05, allocations: 4.358 MB / 6.195 GB, free: 67.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/13.05, allocations: 4 kB / 6.195 GB, free: 67.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/13.06, allocations: 6.906 MB / 6.201 GB, free: 61.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/13.07, allocations: 0.762 MB / 6.202 GB, free: 60.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000624/13.07, allocations: 7.953 kB / 6.202 GB, free: 60.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00261/13.07, allocations: 149.8 kB / 6.202 GB, free: 60.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004077/13.07, allocations: 224.7 kB / 6.202 GB, free: 60.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002916/13.07, allocations: 116.7 kB / 6.203 GB, free: 60.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001244/13.07, allocations: 0.7837 MB / 6.203 GB, free: 59.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.8e-07/13.07, allocations: 4 kB / 6.203 GB, free: 59.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004912/13.08, allocations: 1.129 MB / 6.204 GB, free: 58.72 MB / 0.7136 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 () * 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.01429/13.09, allocations: 9.898 MB / 6.214 GB, free: 50.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00569/13.1, allocations: 3.76 MB / 6.218 GB, free: 46.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/13.1, allocations: 0 / 6.218 GB, free: 46.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00342/13.1, allocations: 2.395 MB / 6.22 GB, free: 44.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005121/13.1, allocations: 0.9062 MB / 6.221 GB, free: 43.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/13.12, allocations: 6.113 MB / 6.227 GB, free: 39.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/13.12, allocations: 1.988 MB / 6.229 GB, free: 37.53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004472/13.12, allocations: 1.215 MB / 6.23 GB, free: 36.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/13.13, allocations: 1.082 MB / 6.231 GB, free: 35.7 MB / 0.7136 GB Notification: Performance of SimCode: time 7.91e-07/13.13, allocations: 0 / 6.231 GB, free: 35.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5451/13.67, allocations: 80.68 MB / 6.31 GB, free: 103.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/13.67, allocations: 147.4 kB / 6.31 GB, free: 103 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.723/18.39, allocations: 2.75 kB / 6.31 GB, free: 103 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)