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.001214/0.001214, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007936/0.007937, allocations: 169 kB / 16.26 MB, free: 6.652 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.642/1.642, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.609/2.609, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004845, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.108, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2937/1.401, allocations: 213.2 MB / 1.163 GB, free: 9.312 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03146/1.433, allocations: 20.5 MB / 1.183 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003201/1.436, allocations: 43.75 kB / 1.183 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003366/1.44, allocations: 1.1 MB / 1.185 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01216/1.452, allocations: 3.852 MB / 1.188 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004976/1.457, allocations: 1.388 MB / 1.19 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01299/1.47, allocations: 9.516 MB / 1.199 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003674/1.474, allocations: 1.936 MB / 1.201 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005057/1.479, allocations: 1.969 MB / 1.203 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005469/1.484, allocations: 2.456 MB / 1.205 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006121/1.485, allocations: 160 kB / 1.205 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009086/1.494, allocations: 3.932 MB / 1.209 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002103/1.496, allocations: 1.258 MB / 1.21 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003093/1.499, allocations: 1.67 MB / 1.212 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01157/1.511, allocations: 5.74 MB / 1.218 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/1.511, allocations: 0 / 1.218 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.128e-06/1.511, allocations: 0 / 1.218 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000211/1.511, allocations: 0 / 1.218 GB, free: 1.602 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.01142/1.522, allocations: 3.454 MB / 1.221 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.021e-05/1.522, allocations: 12.03 kB / 1.221 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001462/1.524, allocations: 387.8 kB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/1.529, allocations: 0.8314 MB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004113/1.533, allocations: 1.883 MB / 1.224 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/1.533, allocations: 201.4 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004867/1.534, allocations: 268 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005901/1.54, allocations: 3.283 MB / 1.228 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.957e-05/1.54, allocations: 3.906 kB / 1.228 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/1.54, allocations: 112 kB / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/1.54, allocations: 125.4 kB / 1.228 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00734/1.548, allocations: 4.631 MB / 1.232 GB, free: 2.242 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.01709/1.565, allocations: 10.89 MB / 1.243 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007295/1.572, allocations: 4.865 MB / 1.248 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.8158/2.388, allocations: 2.522 MB / 1.25 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/2.389, allocations: 0.8672 MB / 1.251 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.492e-05/2.39, allocations: 76.94 kB / 1.251 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 6.762e-06/2.39, allocations: 3.219 kB / 1.251 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.01635/2.406, allocations: 6.036 MB / 1.257 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/2.406, allocations: 93.25 kB / 1.257 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003377/2.409, allocations: 1.229 MB / 1.258 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009226/2.41, allocations: 95.83 kB / 1.258 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008897/2.411, allocations: 0.8134 MB / 1.259 GB, free: 277.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002621/2.414, allocations: 1.332 MB / 1.261 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007809/2.415, allocations: 267.5 kB / 1.261 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/2.415, allocations: 301.7 kB / 1.261 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004403/2.419, allocations: 1.607 MB / 1.263 GB, free: 275.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003682/2.423, allocations: 1.916 MB / 1.265 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008496/2.431, allocations: 3.833 MB / 1.268 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.889e-05/2.432, allocations: 4.062 kB / 1.268 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01109/2.443, allocations: 4.2 MB / 1.272 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/2.443, allocations: 6 kB / 1.272 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/2.443, allocations: 3.469 kB / 1.272 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-05/2.443, allocations: 17.41 kB / 1.272 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003567/2.446, allocations: 0.6819 MB / 1.273 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.702e-05/2.447, allocations: 21.59 kB / 1.273 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004022/2.451, allocations: 405.1 kB / 1.273 GB, free: 270.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004656/2.451, allocations: 112.9 kB / 1.274 GB, free: 270.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.00218/2.453, allocations: 0.7265 MB / 1.274 GB, free: 270 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008826/2.454, allocations: 244.7 kB / 1.275 GB, free: 269.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008027/2.462, allocations: 4.646 MB / 1.279 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/2.462, allocations: 35.62 kB / 1.279 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/2.462, allocations: 3.938 kB / 1.279 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005469/2.468, allocations: 3.968 MB / 1.283 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/2.481, allocations: 8.283 MB / 1.291 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/2.481, allocations: 7.938 kB / 1.291 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002826/2.484, allocations: 0.6515 MB / 1.292 GB, free: 259 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/2.485, allocations: 148.2 kB / 1.292 GB, free: 258.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/2.485, allocations: 83.97 kB / 1.292 GB, free: 258.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/2.488, allocations: 4.515 MB / 1.296 GB, free: 253.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/2.488, allocations: 0 / 1.296 GB, free: 253.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009668/2.497, allocations: 6.822 MB / 1.303 GB, free: 247 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001985/2.499, allocations: 0.7627 MB / 1.304 GB, free: 246.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004982/2.5, allocations: 68 kB / 1.304 GB, free: 246.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002515/2.503, allocations: 221.5 kB / 1.304 GB, free: 246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004324/2.503, allocations: 230.8 kB / 1.304 GB, free: 245.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/2.503, allocations: 104 kB / 1.304 GB, free: 245.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00112/2.504, allocations: 0.8606 MB / 1.305 GB, free: 244.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/2.504, allocations: 1.375 kB / 1.305 GB, free: 244.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003465/2.508, allocations: 1.091 MB / 1.306 GB, free: 243.7 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.00927/2.517, allocations: 7.617 MB / 1.314 GB, free: 236.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005687/2.523, allocations: 4.048 MB / 1.318 GB, free: 232 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/2.523, allocations: 0 / 1.318 GB, free: 232 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0032/2.526, allocations: 2.555 MB / 1.32 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005474/2.532, allocations: 1.034 MB / 1.321 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04189/2.573, allocations: 26.34 MB / 1.347 GB, free: 201 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/2.575, allocations: 1.942 MB / 1.349 GB, free: 199 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004106/2.579, allocations: 1.231 MB / 1.35 GB, free: 197.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001958/2.581, allocations: 1.085 MB / 1.351 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of SimCode: time 2.224e-06/2.581, allocations: 0 / 1.351 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3615/2.943, allocations: 63.3 MB / 1.413 GB, free: 134 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/2.943, allocations: 216.8 kB / 1.413 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.572/7.515, allocations: 7.938 kB / 1.413 GB, free: 133.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)