Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 180.6 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 0.5777 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007594/0.0007597, allocations: 90.06 kB / 0.6822 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 10.41 kB / 0.7964 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2401, allocations: 106.3 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.7922/1.032, allocations: 199 MB / 1.095 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02424/1.057, allocations: 20.13 MB / 1.114 GB, free: 3.273 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003319/1.06, allocations: 43.66 kB / 1.114 GB, free: 3.273 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003241/1.063, allocations: 0.8198 MB / 1.115 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/1.074, allocations: 3.014 MB / 1.118 GB, free: 3.121 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004289/1.078, allocations: 1.054 MB / 1.119 GB, free: 3.094 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01066/1.089, allocations: 7.995 MB / 1.127 GB, free: 3.062 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004182/1.093, allocations: 1.72 MB / 1.129 GB, free: 2.867 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005592/1.099, allocations: 2.006 MB / 1.131 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005286/1.104, allocations: 2.391 MB / 1.133 GB, free: 2.855 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001499/1.106, allocations: 162 kB / 1.133 GB, free: 2.855 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009257/1.115, allocations: 1.724 MB / 1.135 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003522/1.118, allocations: 1.262 MB / 1.136 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003848/1.122, allocations: 0.6299 MB / 1.137 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008356/1.131, allocations: 3.955 MB / 1.14 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/1.131, allocations: 4 kB / 1.14 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.498e-06/1.131, allocations: 1.859 kB / 1.14 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002657/1.131, allocations: 0 / 1.14 GB, free: 16.58 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.01251/1.144, allocations: 3.474 MB / 1.144 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.144, allocations: 8.406 kB / 1.144 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001597/1.145, allocations: 391.1 kB / 1.144 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005717/1.151, allocations: 0.8233 MB / 1.145 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004994/1.156, allocations: 1.813 MB / 1.147 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/1.156, allocations: 207.5 kB / 1.147 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/1.157, allocations: 277.2 kB / 1.147 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006767/1.164, allocations: 3.258 MB / 1.15 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.893e-05/1.164, allocations: 2.531 kB / 1.15 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/1.164, allocations: 112.9 kB / 1.151 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/1.165, allocations: 124 kB / 1.151 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006905/1.172, allocations: 4.589 MB / 1.155 GB, free: 11.68 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.0165/1.188, allocations: 10.87 MB / 1.166 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005952/1.194, allocations: 4.852 MB / 1.17 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00353/1.198, allocations: 2.507 MB / 1.173 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/1.199, allocations: 0.8704 MB / 1.174 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.133e-05/1.199, allocations: 80.77 kB / 1.174 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=399): time 5.32e-06/1.199, allocations: 0 / 1.174 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=399): time 0.01029/1.209, allocations: 5.986 MB / 1.18 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/1.209, allocations: 94.55 kB / 1.18 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/1.211, allocations: 1.207 MB / 1.181 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003523/1.212, allocations: 96.08 kB / 1.181 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007261/1.213, allocations: 0.7958 MB / 1.182 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001669/1.214, allocations: 1.34 MB / 1.183 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/1.214, allocations: 63.88 kB / 1.183 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003176/1.215, allocations: 439.7 kB / 1.184 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/1.218, allocations: 1.59 MB / 1.185 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003012/1.221, allocations: 1.913 MB / 1.187 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00294/1.224, allocations: 1.886 MB / 1.189 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-06/1.224, allocations: 4 kB / 1.189 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006764/1.231, allocations: 4.156 MB / 1.193 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.231, allocations: 8 kB / 1.193 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/1.231, allocations: 4 kB / 1.193 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/1.231, allocations: 19.95 kB / 1.193 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/1.234, allocations: 0.69 MB / 1.194 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-05/1.234, allocations: 16 kB / 1.194 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003268/1.237, allocations: 367.6 kB / 1.194 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/1.237, allocations: 114.8 kB / 1.194 GB, free: 2.262 MB / 0.7292 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.001542/1.239, allocations: 0.7334 MB / 1.195 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/1.239, allocations: 233.2 kB / 1.195 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007283/1.247, allocations: 4.618 MB / 1.2 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/1.247, allocations: 36 kB / 1.2 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.247, allocations: 4 kB / 1.2 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00561/1.252, allocations: 3.937 MB / 1.203 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/1.266, allocations: 8.244 MB / 1.212 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.266, allocations: 1.859 kB / 1.212 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002946/1.269, allocations: 0.6596 MB / 1.212 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004757/1.27, allocations: 140.9 kB / 1.212 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/1.27, allocations: 87.97 kB / 1.212 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004191/1.274, allocations: 4.559 MB / 1.217 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.274, allocations: 0 / 1.217 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/1.286, allocations: 6.992 MB / 1.224 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00213/1.288, allocations: 0.755 MB / 1.224 GB, free: 7.047 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006763/1.289, allocations: 68 kB / 1.224 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002823/1.292, allocations: 222.4 kB / 1.225 GB, free: 6.766 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000415/1.292, allocations: 222.8 kB / 1.225 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002859/1.292, allocations: 112 kB / 1.225 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001635/1.294, allocations: 0.8526 MB / 1.226 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/1.294, allocations: 0 / 1.226 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003665/1.298, allocations: 1.08 MB / 1.227 GB, free: 4.504 MB / 0.7605 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.01228/1.31, allocations: 7.786 MB / 1.235 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006714/1.317, allocations: 4.025 MB / 1.238 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.317, allocations: 4 kB / 1.238 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003981/1.321, allocations: 2.549 MB / 1.241 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00623/1.327, allocations: 1.028 MB / 1.242 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03421/1.361, allocations: 19.49 MB / 1.261 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/1.363, allocations: 1.931 MB / 1.263 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004038/1.367, allocations: 1.215 MB / 1.264 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/1.369, allocations: 1.081 MB / 1.265 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of SimCode: time 7.62e-07/1.369, allocations: 3.938 kB / 1.265 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/1.486, allocations: 66.4 MB / 1.33 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/1.487, allocations: 221.3 kB / 1.33 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.632/6.119, allocations: 0 / 1.33 GB, free: 10.49 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)