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.384/1.384, allocations: 252 MB / 267.3 MB, free: 10.82 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.0009718/0.0009718, allocations: 185.6 kB / 327 MB, free: 2.066 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.827/1.827, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0008951/0.0008952, allocations: 86.36 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003249, allocations: 8.156 kB / 0.7971 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.24, allocations: 106.4 MB / 0.9009 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.7714/1.012, allocations: 213.2 MB / 1.109 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02414/1.036, allocations: 21.64 MB / 1.13 GB, free: 0.918 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/1.039, allocations: 40.59 kB / 1.13 GB, free: 0.918 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002725/1.041, allocations: 1.091 MB / 1.131 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/1.052, allocations: 3.831 MB / 1.135 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/1.056, allocations: 1.379 MB / 1.136 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0182/1.074, allocations: 9.485 MB / 1.146 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005449/1.079, allocations: 1.926 MB / 1.148 GB, free: 236 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006813/1.086, allocations: 2.024 MB / 1.15 GB, free: 0 / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00688/1.093, allocations: 2.463 MB / 1.152 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001353/1.095, allocations: 159.5 kB / 1.152 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009915/1.105, allocations: 3.928 MB / 1.156 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00253/1.107, allocations: 1.258 MB / 1.157 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.004795/1.112, allocations: 1.671 MB / 1.159 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/1.123, allocations: 5.73 MB / 1.164 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.123, allocations: 4 kB / 1.164 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/1.123, allocations: 0 / 1.164 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001135/1.123, allocations: 0 / 1.164 GB, free: 10.27 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.009097/1.132, allocations: 3.442 MB / 1.168 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/1.132, allocations: 11.34 kB / 1.168 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000761/1.133, allocations: 391.6 kB / 1.168 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/1.137, allocations: 0.8216 MB / 1.169 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/1.141, allocations: 1.866 MB / 1.171 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/1.141, allocations: 201.5 kB / 1.171 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/1.141, allocations: 270.2 kB / 1.171 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005237/1.147, allocations: 3.281 MB / 1.174 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.382e-05/1.147, allocations: 8 kB / 1.174 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/1.147, allocations: 111 kB / 1.175 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/1.147, allocations: 125.4 kB / 1.175 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006973/1.154, allocations: 4.612 MB / 1.179 GB, free: 14.58 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.01804/1.172, allocations: 10.87 MB / 1.19 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005971/1.178, allocations: 4.866 MB / 1.195 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003474/1.182, allocations: 2.524 MB / 1.197 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/1.183, allocations: 0.8653 MB / 1.198 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.74e-05/1.183, allocations: 89.62 kB / 1.198 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=399): time 5.37e-06/1.183, allocations: 3.938 kB / 1.198 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=399): time 0.00942/1.192, allocations: 6.035 MB / 1.204 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/1.192, allocations: 92.98 kB / 1.204 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/1.194, allocations: 1.212 MB / 1.205 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000242/1.194, allocations: 93.7 kB / 1.205 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005579/1.195, allocations: 0.8094 MB / 1.206 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.196, allocations: 1.331 MB / 1.207 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/1.196, allocations: 68 kB / 1.207 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002008/1.197, allocations: 437.1 kB / 1.208 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/1.199, allocations: 1.603 MB / 1.209 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/1.202, allocations: 1.926 MB / 1.211 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005329/1.207, allocations: 3.833 MB / 1.215 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/1.207, allocations: 4 kB / 1.215 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006394/1.213, allocations: 4.192 MB / 1.219 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/1.213, allocations: 4 kB / 1.219 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/1.213, allocations: 7.938 kB / 1.219 GB, free: 4.859 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/1.213, allocations: 20 kB / 1.219 GB, free: 4.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/1.216, allocations: 0.6806 MB / 1.22 GB, free: 4.199 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.503e-05/1.216, allocations: 26.52 kB / 1.22 GB, free: 4.176 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/1.22, allocations: 361.2 kB / 1.22 GB, free: 3.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/1.22, allocations: 116 kB / 1.22 GB, free: 3.707 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.001662/1.222, allocations: 0.7249 MB / 1.221 GB, free: 3.012 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006792/1.222, allocations: 237.2 kB / 1.221 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007406/1.23, allocations: 4.635 MB / 1.226 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/1.23, allocations: 39.94 kB / 1.226 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/1.23, allocations: 0 / 1.226 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005575/1.235, allocations: 3.957 MB / 1.23 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/1.248, allocations: 8.261 MB / 1.238 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.248, allocations: 0 / 1.238 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002894/1.251, allocations: 0.6668 MB / 1.238 GB, free: 1.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/1.252, allocations: 138.5 kB / 1.238 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002309/1.252, allocations: 87.91 kB / 1.238 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003675/1.256, allocations: 4.566 MB / 1.243 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.256, allocations: 3.984 kB / 1.243 GB, free: 12 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.266, allocations: 7.023 MB / 1.25 GB, free: 4.93 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/1.268, allocations: 0.7628 MB / 1.251 GB, free: 4.145 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/1.268, allocations: 68 kB / 1.251 GB, free: 4.078 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/1.271, allocations: 218.4 kB / 1.251 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/1.271, allocations: 222.8 kB / 1.251 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/1.271, allocations: 116 kB / 1.251 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001203/1.272, allocations: 0.8484 MB / 1.252 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.51e-07/1.272, allocations: 0 / 1.252 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002952/1.275, allocations: 1.092 MB / 1.253 GB, free: 1.59 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.01123/1.287, allocations: 7.825 MB / 1.261 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006405/1.293, allocations: 4.047 MB / 1.265 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.293, allocations: 4 kB / 1.265 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003786/1.297, allocations: 2.551 MB / 1.267 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005364/1.302, allocations: 1.018 MB / 1.268 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04049/1.343, allocations: 26.19 MB / 1.294 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/1.344, allocations: 1.931 MB / 1.296 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0038/1.348, allocations: 1.223 MB / 1.297 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/1.35, allocations: 1.077 MB / 1.298 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of SimCode: time 9.22e-07/1.35, allocations: 0 / 1.298 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.452, allocations: 63.28 MB / 1.36 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/1.452, allocations: 234.1 kB / 1.36 GB, free: 3.609 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.411/5.863, allocations: 0 / 1.36 GB, free: 3.609 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)