Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 193.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.53/1.53, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 66.7 kB / 0.6711 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1979, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.54/0.7379, allocations: 215.7 MB / 0.9936 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02013/0.7581, allocations: 21.47 MB / 1.015 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.7604, allocations: 44.91 kB / 1.015 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.7627, allocations: 1.12 MB / 1.016 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007963/0.7707, allocations: 3.826 MB / 1.019 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.7737, allocations: 1.392 MB / 1.021 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006169/0.7799, allocations: 6.92 MB / 1.028 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.7823, allocations: 2.31 MB / 1.03 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.7854, allocations: 2.391 MB / 1.032 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.7886, allocations: 2.607 MB / 1.035 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003626/0.789, allocations: 343 kB / 1.035 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005689/0.7947, allocations: 3.63 MB / 1.039 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.7958, allocations: 1.45 MB / 1.04 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.7976, allocations: 1.861 MB / 1.042 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006476/0.804, allocations: 5.956 MB / 1.048 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.8041, allocations: 4 kB / 1.048 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.512e-06/0.8041, allocations: 0 / 1.048 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.16e-05/0.8041, allocations: 1.812 kB / 1.048 GB, free: 1.18 MB / 0.7481 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.007713/0.8118, allocations: 3.928 MB / 1.051 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.8119, allocations: 13.84 kB / 1.051 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004578/0.8124, allocations: 389.2 kB / 1.052 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/0.8168, allocations: 0.8257 MB / 1.053 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/0.8195, allocations: 1.861 MB / 1.054 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.8196, allocations: 204.7 kB / 1.055 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/0.82, allocations: 274.2 kB / 1.055 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004648/0.8246, allocations: 3.279 MB / 1.058 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.8247, allocations: 1.375 kB / 1.058 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.8249, allocations: 112 kB / 1.058 GB, free: 7.957 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.825, allocations: 125.4 kB / 1.058 GB, free: 7.832 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005958/0.831, allocations: 4.608 MB / 1.063 GB, free: 3.211 MB / 0.7637 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.0125/0.8435, allocations: 10.86 MB / 1.073 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005405/0.8489, allocations: 4.864 MB / 1.078 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003077/0.852, allocations: 2.518 MB / 1.081 GB, free: 400 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000945/0.853, allocations: 0.8673 MB / 1.082 GB, free: 15.37 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/0.853, allocations: 81.64 kB / 1.082 GB, free: 15.28 MB / 0.795 GB Notification: Performance of pre-optimization done (n=399): time 5.54e-06/0.853, allocations: 0 / 1.082 GB, free: 15.28 MB / 0.795 GB Notification: Performance of matching and sorting (n=399): time 0.008193/0.8612, allocations: 6.011 MB / 1.087 GB, free: 9.184 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.8613, allocations: 98.42 kB / 1.088 GB, free: 9.074 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.8626, allocations: 1.211 MB / 1.089 GB, free: 7.855 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.8628, allocations: 105.6 kB / 1.089 GB, free: 7.746 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.8633, allocations: 0.8017 MB / 1.09 GB, free: 6.934 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008884/0.8642, allocations: 1.331 MB / 1.091 GB, free: 5.613 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007318/0.865, allocations: 0.5469 MB / 1.091 GB, free: 5.059 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.865, allocations: 301.1 kB / 1.092 GB, free: 4.762 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.8671, allocations: 1.599 MB / 1.093 GB, free: 3.16 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.8695, allocations: 1.927 MB / 1.095 GB, free: 1.18 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00477/0.8743, allocations: 3.831 MB / 1.099 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.8743, allocations: 4 kB / 1.099 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005617/0.8799, allocations: 4.184 MB / 1.103 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.8799, allocations: 4 kB / 1.103 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.88, allocations: 4 kB / 1.103 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/0.88, allocations: 20 kB / 1.103 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/0.8825, allocations: 0.6826 MB / 1.104 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.197e-05/0.8826, allocations: 20 kB / 1.104 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.885, allocations: 373.2 kB / 1.104 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.8853, allocations: 112 kB / 1.104 GB, free: 7.875 MB / 0.8106 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.001067/0.8864, allocations: 0.7235 MB / 1.105 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/0.8868, allocations: 237.2 kB / 1.105 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006635/0.8934, allocations: 4.628 MB / 1.11 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/0.8935, allocations: 40 kB / 1.11 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.8935, allocations: 0 / 1.11 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005193/0.8987, allocations: 3.961 MB / 1.114 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.9099, allocations: 8.257 MB / 1.122 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.9099, allocations: 0 / 1.122 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/0.9126, allocations: 0.667 MB / 1.122 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/0.913, allocations: 138.4 kB / 1.122 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/0.9132, allocations: 83.97 kB / 1.122 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/0.9168, allocations: 5.088 MB / 1.127 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.9168, allocations: 3.984 kB / 1.127 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008979/0.9258, allocations: 7.017 MB / 1.134 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.9271, allocations: 0.7666 MB / 1.135 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004098/0.9276, allocations: 64 kB / 1.135 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/0.9298, allocations: 216.4 kB / 1.135 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003828/0.9302, allocations: 230.8 kB / 1.136 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002188/0.9304, allocations: 115.9 kB / 1.136 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001099/0.9315, allocations: 0.8522 MB / 1.136 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9315, allocations: 4 kB / 1.136 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002447/0.9339, allocations: 1.084 MB / 1.138 GB, free: 5.105 MB / 0.8419 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.009593/0.9435, allocations: 7.806 MB / 1.145 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01998/0.9635, allocations: 11.48 MB / 1.156 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9636, allocations: 0 / 1.156 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003434/0.967, allocations: 2.556 MB / 1.159 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004961/0.972, allocations: 1.073 MB / 1.16 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03353/1.006, allocations: 25.95 MB / 1.185 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/1.007, allocations: 1.935 MB / 1.187 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.003302/1.01, allocations: 1.219 MB / 1.188 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/1.012, allocations: 1.081 MB / 1.189 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of SimCode: time 6.62e-07/1.012, allocations: 0 / 1.189 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.159/4.171, allocations: 65.84 MB / 1.254 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/4.171, allocations: 227 kB / 1.254 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/7.585, allocations: 0 / 1.254 GB, free: 13.23 MB / 0.9669 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)