Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.001962/0.001962, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002404/0.002404, allocations: 191.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.461/2.461, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.18/4.18, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002848/0.002848, allocations: 59.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.063, allocations: 140.4 MB / 0.9492 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2955/1.359, allocations: 164.7 MB / 1.11 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02048/1.379, allocations: 8.453 MB / 1.118 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/1.382, allocations: 31.81 kB / 1.118 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00288/1.385, allocations: 0.4975 MB / 1.119 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007215/1.393, allocations: 1.442 MB / 1.12 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004239/1.397, allocations: 0.8967 MB / 1.121 GB, free: 1.418 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00745/1.404, allocations: 4.129 MB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003472/1.408, allocations: 1.307 MB / 1.126 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005616/1.413, allocations: 1.495 MB / 1.128 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/1.417, allocations: 1.581 MB / 1.129 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008994/1.418, allocations: 184 kB / 1.13 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004086/1.422, allocations: 1.111 MB / 1.131 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001397/1.424, allocations: 0.6779 MB / 1.131 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002806/1.426, allocations: 1.027 MB / 1.132 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006806/1.433, allocations: 2.742 MB / 1.135 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.433, allocations: 0 / 1.135 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.958e-06/1.433, allocations: 0 / 1.135 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001122/1.433, allocations: 0 / 1.135 GB, free: 3.109 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.009066/1.443, allocations: 2.27 MB / 1.137 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.672e-05/1.443, allocations: 8.031 kB / 1.137 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007898/1.443, allocations: 227.8 kB / 1.137 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/1.445, allocations: 198.7 kB / 1.138 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004316/1.449, allocations: 1.177 MB / 1.139 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/1.449, allocations: 111 kB / 1.139 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006456/1.45, allocations: 152 kB / 1.139 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006508/1.457, allocations: 1.923 MB / 1.141 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.93e-05/1.457, allocations: 4 kB / 1.141 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000355/1.457, allocations: 60 kB / 1.141 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.849e-05/1.457, allocations: 36 kB / 1.141 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007237/1.464, allocations: 2.478 MB / 1.143 GB, free: 10.32 MB / 0.9044 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.01573/1.48, allocations: 6.092 MB / 1.149 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007878/1.488, allocations: 2.794 MB / 1.152 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004754/1.493, allocations: 1.425 MB / 1.154 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003207/1.496, allocations: 1.73 MB / 1.155 GB, free: 13.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.975e-05/1.496, allocations: 56.56 kB / 1.155 GB, free: 13.46 MB / 0.92 GB Notification: Performance of pre-optimization done (n=237): time 1.07e-05/1.496, allocations: 0 / 1.155 GB, free: 13.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=237): time 0.01297/1.509, allocations: 3.438 MB / 1.159 GB, free: 9.977 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.509, allocations: 77.41 kB / 1.159 GB, free: 9.887 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/1.512, allocations: 0.7626 MB / 1.159 GB, free: 9.117 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004899/1.512, allocations: 65.7 kB / 1.16 GB, free: 9.047 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006409/1.513, allocations: 494.1 kB / 1.16 GB, free: 8.555 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001529/1.515, allocations: 0.7892 MB / 1.161 GB, free: 7.754 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001419/1.516, allocations: 347.6 kB / 1.161 GB, free: 7.406 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.516, allocations: 301.1 kB / 1.161 GB, free: 7.109 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003178/1.519, allocations: 0.9019 MB / 1.162 GB, free: 6.203 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003499/1.523, allocations: 1.126 MB / 1.163 GB, free: 5.016 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007145/1.53, allocations: 2.227 MB / 1.166 GB, free: 2.746 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/1.53, allocations: 0 / 1.166 GB, free: 2.746 MB / 0.92 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.008662/1.539, allocations: 2.432 MB / 1.168 GB, free: 312 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/1.539, allocations: 13.81 kB / 1.168 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/1.539, allocations: 4.469 kB / 1.168 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.523e-05/1.539, allocations: 16 kB / 1.168 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003565/1.543, allocations: 443.4 kB / 1.168 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.986e-05/1.543, allocations: 12 kB / 1.168 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/1.545, allocations: 210.2 kB / 1.169 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004195/1.546, allocations: 71.98 kB / 1.169 GB, free: 15.55 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.001576/1.547, allocations: 441.2 kB / 1.169 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008187/1.548, allocations: 146.2 kB / 1.169 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009709/1.558, allocations: 2.725 MB / 1.172 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-05/1.558, allocations: 24 kB / 1.172 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/1.558, allocations: 0 / 1.172 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007055/1.565, allocations: 2.377 MB / 1.174 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/1.579, allocations: 4.294 MB / 1.178 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.579, allocations: 0 / 1.178 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003706/1.583, allocations: 415.5 kB / 1.179 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/1.584, allocations: 93.62 kB / 1.179 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004651/1.585, allocations: 51.98 kB / 1.179 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/1.586, allocations: 1.113 MB / 1.18 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.586, allocations: 3.984 kB / 1.18 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/1.599, allocations: 4.065 MB / 1.184 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/1.601, allocations: 478.6 kB / 1.184 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006857/1.602, allocations: 48 kB / 1.184 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/1.605, allocations: 99.83 kB / 1.185 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005785/1.605, allocations: 137.8 kB / 1.185 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003325/1.606, allocations: 71.97 kB / 1.185 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001558/1.607, allocations: 0.5381 MB / 1.185 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.41e-07/1.607, allocations: 0 / 1.185 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003338/1.611, allocations: 0.6436 MB / 1.186 GB, free: 13.56 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01453/1.625, allocations: 4.891 MB / 1.191 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0201/1.645, allocations: 4.86 MB / 1.195 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.645, allocations: 0 / 1.195 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004695/1.65, allocations: 1.284 MB / 1.197 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005981/1.656, allocations: 0.5909 MB / 1.197 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04806/1.704, allocations: 14.85 MB / 1.212 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001895/1.706, allocations: 1.339 MB / 1.213 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.005186/1.712, allocations: 0.7228 MB / 1.214 GB, free: 488 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002414/1.714, allocations: 0.6242 MB / 1.214 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of SimCode: time 2.094e-06/1.714, allocations: 4 kB / 1.214 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.149/2.863, allocations: 38.87 MB / 1.252 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/2.864, allocations: 225.4 kB / 1.253 GB, free: 280.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.632/8.496, allocations: 3.281 kB / 1.253 GB, free: 280.8 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)