Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_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.001246/0.001246, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001342/0.001342, allocations: 198.9 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.094/2.094, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.88 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4916, allocations: 140.4 MB / 0.949 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1903/0.6819, allocations: 216.2 MB / 1.16 GB, free: 9.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.7047, allocations: 20.74 MB / 1.18 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.7065, allocations: 47.75 kB / 1.18 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.7089, allocations: 1.089 MB / 1.182 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007868/0.7168, allocations: 3.859 MB / 1.185 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.7198, allocations: 1.376 MB / 1.187 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008097/0.7279, allocations: 9.528 MB / 1.196 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/0.7301, allocations: 2.003 MB / 1.198 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.7329, allocations: 2.024 MB / 1.2 GB, free: 348 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003494/0.7364, allocations: 2.525 MB / 1.202 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003872/0.7368, allocations: 187.9 kB / 1.203 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00633/0.7431, allocations: 3.959 MB / 1.206 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.7443, allocations: 1.297 MB / 1.208 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001794/0.7461, allocations: 1.699 MB / 1.209 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006124/0.7522, allocations: 5.819 MB / 1.215 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7523, allocations: 7.938 kB / 1.215 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.02e-07/0.7523, allocations: 0 / 1.215 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.531e-05/0.7523, allocations: 0 / 1.215 GB, free: 0.8086 MB / 0.9669 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.007921/0.7602, allocations: 3.941 MB / 1.219 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.7603, allocations: 8.031 kB / 1.219 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004315/0.7607, allocations: 383.8 kB / 1.219 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.7653, allocations: 0.8352 MB / 1.22 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.7681, allocations: 1.883 MB / 1.222 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.7683, allocations: 205.4 kB / 1.222 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003415/0.7686, allocations: 264 kB / 1.222 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004732/0.7734, allocations: 3.275 MB / 1.226 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/0.7734, allocations: 7.906 kB / 1.226 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/0.7737, allocations: 115.9 kB / 1.226 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.7738, allocations: 125.4 kB / 1.226 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006351/0.7801, allocations: 4.619 MB / 1.23 GB, free: 0.9766 MB / 0.9825 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.01365/0.7938, allocations: 10.87 MB / 1.241 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005481/0.7993, allocations: 4.869 MB / 1.246 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.365/1.164, allocations: 2.518 MB / 1.248 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/1.165, allocations: 0.8658 MB / 1.249 GB, free: 282 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/1.165, allocations: 79.64 kB / 1.249 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 6.542e-06/1.165, allocations: 0.9375 kB / 1.249 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.01003/1.175, allocations: 6.024 MB / 1.255 GB, free: 279.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/1.176, allocations: 92.67 kB / 1.255 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/1.177, allocations: 1.229 MB / 1.256 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/1.178, allocations: 92.95 kB / 1.256 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/1.178, allocations: 0.8142 MB / 1.257 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007426/1.179, allocations: 1.321 MB / 1.258 GB, free: 277.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006952/1.179, allocations: 0.5529 MB / 1.259 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.188e-05/1.18, allocations: 304.7 kB / 1.259 GB, free: 277 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/1.182, allocations: 1.602 MB / 1.261 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/1.184, allocations: 1.913 MB / 1.263 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004689/1.188, allocations: 3.836 MB / 1.266 GB, free: 274 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.189, allocations: 1.188 kB / 1.266 GB, free: 274 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005592/1.194, allocations: 4.19 MB / 1.27 GB, free: 272 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.194, allocations: 12.23 kB / 1.27 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.194, allocations: 3.438 kB / 1.27 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/1.194, allocations: 17.12 kB / 1.27 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/1.197, allocations: 0.6818 MB / 1.271 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.841e-05/1.197, allocations: 20.53 kB / 1.271 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/1.199, allocations: 403.6 kB / 1.272 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/1.199, allocations: 113.3 kB / 1.272 GB, free: 271.5 MB / 0.9981 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.001034/1.2, allocations: 0.7296 MB / 1.272 GB, free: 271 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/1.201, allocations: 244.7 kB / 1.273 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005859/1.206, allocations: 4.631 MB / 1.277 GB, free: 268.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/1.207, allocations: 44.78 kB / 1.277 GB, free: 268.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.207, allocations: 0 / 1.277 GB, free: 268.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004304/1.211, allocations: 3.955 MB / 1.281 GB, free: 266.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009274/1.22, allocations: 8.273 MB / 1.289 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/1.22, allocations: 3.938 kB / 1.289 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002339/1.222, allocations: 0.6608 MB / 1.29 GB, free: 260.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003644/1.223, allocations: 135 kB / 1.29 GB, free: 260 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/1.223, allocations: 87.91 kB / 1.29 GB, free: 259.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/1.225, allocations: 4.53 MB / 1.294 GB, free: 255 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.225, allocations: 2.344 kB / 1.294 GB, free: 255 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007084/1.232, allocations: 6.814 MB / 1.301 GB, free: 248.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.233, allocations: 0.7666 MB / 1.302 GB, free: 247.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/1.234, allocations: 68 kB / 1.302 GB, free: 247.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/1.236, allocations: 210.2 kB / 1.302 GB, free: 247.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/1.236, allocations: 232.9 kB / 1.302 GB, free: 246.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.236, allocations: 112 kB / 1.302 GB, free: 246.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008348/1.237, allocations: 0.8567 MB / 1.303 GB, free: 245.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.237, allocations: 0 / 1.303 GB, free: 245.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001957/1.239, allocations: 1.083 MB / 1.304 GB, free: 244.8 MB / 0.9981 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.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,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.007552/1.246, allocations: 7.611 MB / 1.312 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004302/1.251, allocations: 4.043 MB / 1.316 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.251, allocations: 0 / 1.316 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002398/1.253, allocations: 2.552 MB / 1.318 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/1.257, allocations: 1.03 MB / 1.319 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02591/1.283, allocations: 26.08 MB / 1.345 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.284, allocations: 1.945 MB / 1.347 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002852/1.287, allocations: 1.225 MB / 1.348 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/1.288, allocations: 1.089 MB / 1.349 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.288, allocations: 0 / 1.349 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06982/1.358, allocations: 63.96 MB / 1.411 GB, free: 134.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/1.358, allocations: 229 kB / 1.411 GB, free: 134.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.3/4.658, allocations: 0 / 1.411 GB, free: 134.5 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)