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.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.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.001696/0.001696, 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.001841/0.001841, allocations: 194.8 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 1.957/1.957, allocations: 222.9 MB / 239.9 MB, free: 4.512 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 3.801/3.801, allocations: 390.3 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 59.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9112/0.9138, allocations: 140.4 MB / 0.9492 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.3866/1.3, allocations: 215.7 MB / 1.16 GB, free: 9.523 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04468/1.345, allocations: 20.32 MB / 1.18 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003637/1.349, allocations: 47.75 kB / 1.18 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005464/1.354, allocations: 1.128 MB / 1.181 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01729/1.372, allocations: 3.838 MB / 1.185 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006588/1.378, allocations: 1.405 MB / 1.186 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01267/1.391, allocations: 6.978 MB / 1.193 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005219/1.396, allocations: 2.313 MB / 1.195 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006401/1.403, allocations: 2.387 MB / 1.197 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007241/1.41, allocations: 2.609 MB / 1.2 GB, free: 356 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001481/1.412, allocations: 344 kB / 1.2 GB, free: 12 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/1.423, allocations: 3.624 MB / 1.204 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00339/1.427, allocations: 1.461 MB / 1.205 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.006361/1.433, allocations: 1.863 MB / 1.207 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01539/1.449, allocations: 5.963 MB / 1.213 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-05/1.449, allocations: 4 kB / 1.213 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.775e-06/1.449, allocations: 0 / 1.213 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001971/1.449, allocations: 0 / 1.213 GB, free: 3.059 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.01825/1.467, allocations: 3.945 MB / 1.217 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/1.467, allocations: 8.031 kB / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001429/1.469, allocations: 391.8 kB / 1.217 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009943/1.479, allocations: 0.8236 MB / 1.218 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006724/1.485, allocations: 1.875 MB / 1.22 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/1.486, allocations: 209.4 kB / 1.22 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/1.487, allocations: 264 kB / 1.22 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/1.499, allocations: 3.283 MB / 1.223 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/1.499, allocations: 7.906 kB / 1.223 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008049/1.5, allocations: 112 kB / 1.224 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/1.5, allocations: 125.4 kB / 1.224 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/1.514, allocations: 4.623 MB / 1.228 GB, free: 3.219 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.03148/1.546, allocations: 10.87 MB / 1.239 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0127/1.559, allocations: 4.881 MB / 1.244 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007319/1.566, allocations: 2.52 MB / 1.246 GB, free: 232 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7042/2.27, allocations: 0.8585 MB / 1.247 GB, free: 282.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/2.27, allocations: 79.73 kB / 1.247 GB, free: 282.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 2e-05/2.271, allocations: 0 / 1.247 GB, free: 282.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.02201/2.293, allocations: 6.021 MB / 1.253 GB, free: 280.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/2.293, allocations: 92.62 kB / 1.253 GB, free: 280.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003908/2.297, allocations: 1.229 MB / 1.254 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008361/2.298, allocations: 93.36 kB / 1.254 GB, free: 280.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008861/2.298, allocations: 0.8176 MB / 1.255 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002169/2.301, allocations: 1.328 MB / 1.256 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002714/2.303, allocations: 0.5505 MB / 1.257 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.15e-05/2.303, allocations: 305.3 kB / 1.257 GB, free: 278 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006143/2.31, allocations: 1.607 MB / 1.259 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005362/2.315, allocations: 1.901 MB / 1.261 GB, free: 276.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/2.326, allocations: 3.838 MB / 1.264 GB, free: 275 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.392e-05/2.326, allocations: 1.125 kB / 1.264 GB, free: 275 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01436/2.34, allocations: 4.192 MB / 1.268 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/2.341, allocations: 6.531 kB / 1.268 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/2.341, allocations: 3.281 kB / 1.268 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.258e-05/2.341, allocations: 17.16 kB / 1.268 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005618/2.346, allocations: 0.682 MB / 1.269 GB, free: 273.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001165/2.346, allocations: 25.7 kB / 1.269 GB, free: 273.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005469/2.352, allocations: 394.8 kB / 1.269 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009202/2.353, allocations: 116.3 kB / 1.27 GB, free: 272.8 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.003021/2.356, allocations: 0.7297 MB / 1.27 GB, free: 272.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/2.357, allocations: 243.4 kB / 1.271 GB, free: 272.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/2.371, allocations: 4.634 MB / 1.275 GB, free: 269.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.994e-05/2.371, allocations: 38.34 kB / 1.275 GB, free: 269.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.282e-05/2.372, allocations: 1.875 kB / 1.275 GB, free: 269.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01096/2.382, allocations: 3.96 MB / 1.279 GB, free: 267.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02239/2.405, allocations: 8.278 MB / 1.287 GB, free: 262.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/2.405, allocations: 3.938 kB / 1.287 GB, free: 262.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005348/2.41, allocations: 0.6581 MB / 1.288 GB, free: 262.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007875/2.411, allocations: 143.3 kB / 1.288 GB, free: 262.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008045/2.412, allocations: 83.55 kB / 1.288 GB, free: 262.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00459/2.417, allocations: 5.029 MB / 1.293 GB, free: 256.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.417, allocations: 3.812 kB / 1.293 GB, free: 256.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01793/2.435, allocations: 6.816 MB / 1.299 GB, free: 249.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002817/2.438, allocations: 0.7617 MB / 1.3 GB, free: 249 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/2.439, allocations: 68 kB / 1.3 GB, free: 248.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004883/2.444, allocations: 225 kB / 1.301 GB, free: 248.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00119/2.445, allocations: 231.3 kB / 1.301 GB, free: 248.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000818/2.446, allocations: 108 kB / 1.301 GB, free: 248.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002056/2.448, allocations: 0.8645 MB / 1.302 GB, free: 247.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.21e-07/2.448, allocations: 1.156 kB / 1.302 GB, free: 247.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005283/2.453, allocations: 1.084 MB / 1.303 GB, free: 246.5 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.01755/2.471, allocations: 7.599 MB / 1.31 GB, free: 238.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.03818/2.509, allocations: 11.49 MB / 1.321 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/2.509, allocations: 2.844 kB / 1.321 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005836/2.515, allocations: 2.552 MB / 1.324 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008884/2.524, allocations: 1.076 MB / 1.325 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06398/2.588, allocations: 26.09 MB / 1.35 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/2.59, allocations: 1.939 MB / 1.352 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.007191/2.598, allocations: 1.223 MB / 1.353 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003766/2.602, allocations: 1.089 MB / 1.355 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of SimCode: time 2.053e-06/2.602, allocations: 0 / 1.355 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.812/10.41, allocations: 65.88 MB / 1.419 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003442/10.41, allocations: 223.1 kB / 1.419 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/18.1, allocations: 0 / 1.419 GB, free: 126.8 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)