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.204/1.204, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008314/0.0008314, allocations: 165.8 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205 MB / 0.576 GB, free: 21.01 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.0006754/0.0006754, allocations: 94.22 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 8.5 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1534, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.4958/0.6493, allocations: 215.8 MB / 1.107 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01905/0.6683, allocations: 21.88 MB / 1.128 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.6703, allocations: 47.28 kB / 1.128 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.6725, allocations: 1.094 MB / 1.129 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007341/0.6798, allocations: 3.829 MB / 1.133 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.6825, allocations: 1.379 MB / 1.135 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007796/0.6903, allocations: 9.475 MB / 1.144 GB, free: 484 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.6925, allocations: 1.933 MB / 1.146 GB, free: 192 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.6952, allocations: 2.009 MB / 1.148 GB, free: 188 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.6986, allocations: 2.499 MB / 1.15 GB, free: 0 / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003109/0.699, allocations: 160.5 kB / 1.15 GB, free: 0 / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006474/0.7054, allocations: 3.951 MB / 1.154 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.7066, allocations: 1.256 MB / 1.155 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001656/0.7082, allocations: 1.642 MB / 1.157 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00608/0.7143, allocations: 5.733 MB / 1.162 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.7143, allocations: 4 kB / 1.163 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7144, allocations: 0 / 1.163 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.948e-05/0.7144, allocations: 0 / 1.163 GB, free: 9.895 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.006807/0.7212, allocations: 3.448 MB / 1.166 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.7213, allocations: 9.844 kB / 1.166 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004794/0.7217, allocations: 387.4 kB / 1.166 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004021/0.7258, allocations: 0.8235 MB / 1.167 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.7285, allocations: 1.862 MB / 1.169 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.7286, allocations: 212.7 kB / 1.169 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/0.7289, allocations: 263.3 kB / 1.169 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00441/0.7334, allocations: 3.283 MB / 1.173 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/0.7334, allocations: 0 / 1.173 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/0.7337, allocations: 112 kB / 1.173 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.667e-05/0.7338, allocations: 125.4 kB / 1.173 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006186/0.7399, allocations: 4.61 MB / 1.177 GB, free: 14.54 MB / 0.7292 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.01285/0.7528, allocations: 10.86 MB / 1.188 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005423/0.7582, allocations: 4.876 MB / 1.193 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/0.7614, allocations: 2.53 MB / 1.195 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009361/0.7623, allocations: 0.8726 MB / 1.196 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.7624, allocations: 77.69 kB / 1.196 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=399): time 5.32e-06/0.7624, allocations: 0 / 1.196 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=399): time 0.008436/0.7708, allocations: 6.028 MB / 1.202 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.7709, allocations: 98.53 kB / 1.202 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.7723, allocations: 1.215 MB / 1.203 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.7724, allocations: 89.7 kB / 1.203 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/0.773, allocations: 0.8055 MB / 1.204 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008991/0.7739, allocations: 1.33 MB / 1.205 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.7742, allocations: 268.8 kB / 1.206 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.7743, allocations: 305.1 kB / 1.206 GB, free: 428 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/0.7765, allocations: 1.605 MB / 1.207 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/0.779, allocations: 1.918 MB / 1.209 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005077/0.784, allocations: 3.843 MB / 1.213 GB, free: 8.953 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.7841, allocations: 4 kB / 1.213 GB, free: 8.949 MB / 0.7605 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005673/0.7897, allocations: 4.185 MB / 1.217 GB, free: 4.758 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.7898, allocations: 11.94 kB / 1.217 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.7898, allocations: 4.406 kB / 1.217 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.7898, allocations: 20 kB / 1.217 GB, free: 4.723 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/0.7923, allocations: 0.6826 MB / 1.218 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.192e-05/0.7923, allocations: 23.94 kB / 1.218 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.7946, allocations: 362 kB / 1.218 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/0.7948, allocations: 116 kB / 1.218 GB, free: 3.59 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001066/0.7959, allocations: 0.7241 MB / 1.219 GB, free: 2.898 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/0.7963, allocations: 237.2 kB / 1.219 GB, free: 2.664 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00647/0.8027, allocations: 4.633 MB / 1.224 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.8028, allocations: 40 kB / 1.224 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.8028, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005251/0.808, allocations: 3.959 MB / 1.228 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.819, allocations: 8.267 MB / 1.236 GB, free: 1.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.819, allocations: 3.984 kB / 1.236 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/0.8216, allocations: 0.6634 MB / 1.236 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/0.822, allocations: 141 kB / 1.237 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/0.8222, allocations: 83.97 kB / 1.237 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003355/0.8255, allocations: 4.565 MB / 1.241 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8256, allocations: 4.031 kB / 1.241 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008998/0.8346, allocations: 7.027 MB / 1.248 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.8359, allocations: 0.7589 MB / 1.249 GB, free: 4.023 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/0.8362, allocations: 68 kB / 1.249 GB, free: 3.957 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/0.8381, allocations: 216.5 kB / 1.249 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00038/0.8384, allocations: 222.8 kB / 1.249 GB, free: 3.531 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/0.8386, allocations: 116 kB / 1.249 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001006/0.8397, allocations: 0.8445 MB / 1.25 GB, free: 2.57 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.11e-07/0.8397, allocations: 0 / 1.25 GB, free: 2.57 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002169/0.8418, allocations: 1.095 MB / 1.251 GB, free: 1.477 MB / 0.7917 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009588/0.8514, allocations: 7.815 MB / 1.259 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005318/0.8568, allocations: 4.049 MB / 1.263 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.8568, allocations: 0 / 1.263 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003112/0.8599, allocations: 2.559 MB / 1.265 GB, free: 3.105 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004164/0.8641, allocations: 1.026 MB / 1.266 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03411/0.8982, allocations: 25.94 MB / 1.292 GB, free: 6.953 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001756/0.9, allocations: 1.935 MB / 1.294 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003454/0.9035, allocations: 1.219 MB / 1.295 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/0.9051, allocations: 1.077 MB / 1.296 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.9051, allocations: 0 / 1.296 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4379/1.343, allocations: 63.29 MB / 1.358 GB, free: 3.992 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/1.343, allocations: 222.9 kB / 1.358 GB, free: 3.742 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.804/5.147, allocations: 4 kB / 1.358 GB, free: 3.738 MB / 0.9011 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)