Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 288.4 MB / 303.3 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 181.8 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 0.6307 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007539/0.0007539, allocations: 91.66 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004147, allocations: 10.75 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2165, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.6499/0.8664, allocations: 199 MB / 1.174 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02614/0.8926, allocations: 20.12 MB / 1.194 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/0.8955, allocations: 40.38 kB / 1.194 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.8979, allocations: 0.8267 MB / 1.194 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.009137/0.907, allocations: 3.018 MB / 1.197 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.9107, allocations: 1.058 MB / 1.198 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009144/0.9198, allocations: 7.988 MB / 1.206 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003173/0.923, allocations: 1.721 MB / 1.208 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004575/0.9276, allocations: 2.004 MB / 1.21 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004066/0.9317, allocations: 2.401 MB / 1.212 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004846/0.9322, allocations: 159 kB / 1.212 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005433/0.9377, allocations: 1.727 MB / 1.214 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.9392, allocations: 1.258 MB / 1.215 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.9406, allocations: 0.629 MB / 1.216 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005674/0.9463, allocations: 3.959 MB / 1.22 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.9463, allocations: 0 / 1.22 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.196e-06/0.9464, allocations: 0 / 1.22 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001745/0.9465, allocations: 4 kB / 1.22 GB, free: 4.887 MB / 0.7448 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.009759/0.9563, allocations: 3.481 MB / 1.223 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.792e-05/0.9564, allocations: 15.95 kB / 1.223 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009234/0.9573, allocations: 391.7 kB / 1.224 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.9623, allocations: 0.8237 MB / 1.224 GB, free: 112 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00387/0.9662, allocations: 1.813 MB / 1.226 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.9664, allocations: 201.4 kB / 1.226 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004241/0.9668, allocations: 271.9 kB / 1.227 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005721/0.9726, allocations: 3.255 MB / 1.23 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.186e-05/0.9727, allocations: 0 / 1.23 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002651/0.9729, allocations: 115.9 kB / 1.23 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.9731, allocations: 125.4 kB / 1.23 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007679/0.9808, allocations: 4.6 MB / 1.234 GB, free: 5.625 MB / 0.7605 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.01643/0.9972, allocations: 10.85 MB / 1.245 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006541/1.004, allocations: 4.844 MB / 1.25 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00394/1.008, allocations: 2.516 MB / 1.252 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/1.009, allocations: 0.8642 MB / 1.253 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.937e-05/1.009, allocations: 77.7 kB / 1.253 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=399): time 5.44e-06/1.009, allocations: 0 / 1.253 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of matching and sorting (n=399): time 0.009717/1.019, allocations: 5.999 MB / 1.259 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/1.019, allocations: 94.55 kB / 1.259 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/1.021, allocations: 1.204 MB / 1.26 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002729/1.021, allocations: 93.7 kB / 1.26 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005916/1.022, allocations: 0.8055 MB / 1.261 GB, free: 9.262 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001222/1.023, allocations: 1.332 MB / 1.263 GB, free: 7.91 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/1.023, allocations: 68 kB / 1.263 GB, free: 7.844 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002406/1.023, allocations: 441.1 kB / 1.263 GB, free: 7.406 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/1.026, allocations: 1.592 MB / 1.265 GB, free: 5.812 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002712/1.028, allocations: 1.912 MB / 1.266 GB, free: 3.848 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/1.031, allocations: 1.89 MB / 1.268 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.031, allocations: 0 / 1.268 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00704/1.038, allocations: 4.16 MB / 1.272 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/1.038, allocations: 8 kB / 1.272 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/1.038, allocations: 4 kB / 1.272 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/1.038, allocations: 19.98 kB / 1.272 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/1.041, allocations: 0.6829 MB / 1.273 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.728e-05/1.041, allocations: 27.92 kB / 1.273 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/1.044, allocations: 367.8 kB / 1.273 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/1.045, allocations: 115.9 kB / 1.274 GB, free: 12.55 MB / 0.8073 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.001335/1.046, allocations: 0.7313 MB / 1.274 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005288/1.046, allocations: 237.2 kB / 1.274 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007071/1.053, allocations: 4.61 MB / 1.279 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/1.054, allocations: 40 kB / 1.279 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.054, allocations: 4 kB / 1.279 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005553/1.059, allocations: 3.938 MB / 1.283 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/1.073, allocations: 8.237 MB / 1.291 GB, free: 10.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.073, allocations: 4 kB / 1.291 GB, free: 10.55 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003036/1.076, allocations: 0.6709 MB / 1.292 GB, free: 9.875 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000496/1.077, allocations: 134.5 kB / 1.292 GB, free: 9.734 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/1.077, allocations: 79.98 kB / 1.292 GB, free: 9.656 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00414/1.081, allocations: 4.564 MB / 1.296 GB, free: 4.691 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.081, allocations: 0 / 1.296 GB, free: 4.691 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/1.093, allocations: 6.983 MB / 1.303 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002339/1.095, allocations: 0.7589 MB / 1.304 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/1.095, allocations: 71.98 kB / 1.304 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/1.098, allocations: 221.3 kB / 1.304 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/1.098, allocations: 226.8 kB / 1.304 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.098, allocations: 108 kB / 1.304 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001248/1.1, allocations: 0.8405 MB / 1.305 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.1, allocations: 0 / 1.305 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003093/1.103, allocations: 1.08 MB / 1.306 GB, free: 10.33 MB / 0.8386 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.0115/1.114, allocations: 7.783 MB / 1.314 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.008077/1.122, allocations: 4.024 MB / 1.318 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.122, allocations: 4.25 kB / 1.318 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004201/1.127, allocations: 2.54 MB / 1.32 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00529/1.132, allocations: 1.049 MB / 1.321 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03447/1.166, allocations: 19.5 MB / 1.34 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/1.168, allocations: 1.935 MB / 1.342 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00444/1.173, allocations: 1.219 MB / 1.343 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/1.175, allocations: 1.077 MB / 1.344 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of SimCode: time 8.42e-07/1.175, allocations: 0 / 1.344 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/1.289, allocations: 66.4 MB / 1.409 GB, free: 244 kB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/1.29, allocations: 213.8 kB / 1.409 GB, free: 0 / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.202/5.491, allocations: 128 / 1.409 GB, free: 16 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)