Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_latest_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.00149/0.00149, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001822/0.001822, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.628/2.628, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 62.8 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3238, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1581/0.482, allocations: 164.6 MB / 1.213 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.4929, allocations: 8.563 MB / 1.221 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000936/0.4939, allocations: 31.81 kB / 1.221 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.4951, allocations: 497.4 kB / 1.222 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.4979, allocations: 1.443 MB / 1.223 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.4999, allocations: 0.8983 MB / 1.224 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00449/0.5044, allocations: 5.39 MB / 1.229 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.5056, allocations: 1.115 MB / 1.23 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.5074, allocations: 1.284 MB / 1.232 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.5091, allocations: 1.538 MB / 1.233 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002047/0.5093, allocations: 100 kB / 1.233 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.5113, allocations: 1.053 MB / 1.234 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005225/0.5119, allocations: 0.5919 MB / 1.235 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008809/0.5128, allocations: 0.933 MB / 1.236 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.5152, allocations: 2.683 MB / 1.238 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5152, allocations: 0 / 1.238 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5152, allocations: 3.938 kB / 1.238 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.5153, allocations: 0 / 1.238 GB, free: 8.805 MB / 0.9981 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.003991/0.5192, allocations: 2.258 MB / 1.241 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.5193, allocations: 11.97 kB / 1.241 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002545/0.5196, allocations: 223.9 kB / 1.241 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004402/0.52, allocations: 194.7 kB / 1.241 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.5217, allocations: 1.177 MB / 1.242 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.5218, allocations: 115 kB / 1.242 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.522, allocations: 148 kB / 1.242 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002814/0.5248, allocations: 1.923 MB / 1.244 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/0.5249, allocations: 4 kB / 1.244 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.525, allocations: 63.94 kB / 1.244 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.5251, allocations: 36 kB / 1.244 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003619/0.5287, allocations: 2.478 MB / 1.247 GB, free: 24 kB / 0.9981 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.4996/1.028, allocations: 6.084 MB / 1.253 GB, free: 57.03 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/1.032, allocations: 2.793 MB / 1.256 GB, free: 56.92 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/1.033, allocations: 1.422 MB / 1.257 GB, free: 56.89 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.035, allocations: 1.735 MB / 1.259 GB, free: 55.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/1.035, allocations: 58.03 kB / 1.259 GB, free: 54.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=237): time 4.058e-06/1.035, allocations: 0 / 1.259 GB, free: 54.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=237): time 0.005328/1.04, allocations: 3.433 MB / 1.262 GB, free: 54.61 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/1.04, allocations: 76.92 kB / 1.262 GB, free: 54.55 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/1.041, allocations: 0.7613 MB / 1.263 GB, free: 54.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/1.041, allocations: 64.89 kB / 1.263 GB, free: 54.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/1.042, allocations: 490.2 kB / 1.263 GB, free: 54.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006192/1.042, allocations: 0.79 MB / 1.264 GB, free: 53.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005876/1.043, allocations: 352.2 kB / 1.264 GB, free: 53.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.084e-05/1.043, allocations: 302.7 kB / 1.265 GB, free: 53.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/1.045, allocations: 0.9042 MB / 1.266 GB, free: 53.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/1.047, allocations: 1.123 MB / 1.267 GB, free: 53.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0037/1.05, allocations: 2.228 MB / 1.269 GB, free: 53 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.05, allocations: 1.031 kB / 1.269 GB, free: 53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004742/1.055, allocations: 2.427 MB / 1.271 GB, free: 52.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/1.055, allocations: 8.797 kB / 1.271 GB, free: 52.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.055, allocations: 6.219 kB / 1.271 GB, free: 52.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/1.055, allocations: 15.05 kB / 1.271 GB, free: 52.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/1.057, allocations: 440.5 kB / 1.272 GB, free: 52.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.599e-05/1.057, allocations: 12.56 kB / 1.272 GB, free: 52.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/1.058, allocations: 208.7 kB / 1.272 GB, free: 52.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/1.058, allocations: 74.83 kB / 1.272 GB, free: 52.77 MB / 0.9981 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.0008179/1.059, allocations: 445.7 kB / 1.272 GB, free: 52.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/1.06, allocations: 143.5 kB / 1.273 GB, free: 52.58 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004622/1.064, allocations: 2.731 MB / 1.275 GB, free: 52.42 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/1.064, allocations: 25.06 kB / 1.275 GB, free: 52.42 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.064, allocations: 0 / 1.275 GB, free: 52.42 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003375/1.068, allocations: 2.384 MB / 1.278 GB, free: 52.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006597/1.074, allocations: 4.294 MB / 1.282 GB, free: 51.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.074, allocations: 1.125 kB / 1.282 GB, free: 51.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/1.076, allocations: 405.2 kB / 1.282 GB, free: 51.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/1.076, allocations: 101 kB / 1.282 GB, free: 51.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/1.076, allocations: 57.05 kB / 1.282 GB, free: 51.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005243/1.077, allocations: 1.116 MB / 1.283 GB, free: 50.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.077, allocations: 2.422 kB / 1.283 GB, free: 50.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005742/1.083, allocations: 4.061 MB / 1.287 GB, free: 50.29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/1.083, allocations: 475.6 kB / 1.288 GB, free: 50.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/1.084, allocations: 44.47 kB / 1.288 GB, free: 50.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008593/1.085, allocations: 107 kB / 1.288 GB, free: 50.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/1.085, allocations: 136.8 kB / 1.288 GB, free: 50.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.085, allocations: 75.03 kB / 1.288 GB, free: 50.08 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000651/1.086, allocations: 0.5359 MB / 1.289 GB, free: 49.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.086, allocations: 0.9844 kB / 1.289 GB, free: 49.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001369/1.087, allocations: 0.6422 MB / 1.289 GB, free: 49.94 MB / 0.9981 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.005872/1.093, allocations: 4.888 MB / 1.294 GB, free: 49.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00309/1.096, allocations: 2.316 MB / 1.296 GB, free: 49.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.096, allocations: 3.219 kB / 1.296 GB, free: 49.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/1.098, allocations: 1.276 MB / 1.298 GB, free: 49.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/1.1, allocations: 0.5434 MB / 1.298 GB, free: 49 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/1.119, allocations: 14.86 MB / 1.313 GB, free: 43.58 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/1.119, allocations: 1.341 MB / 1.314 GB, free: 42.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002035/1.121, allocations: 0.7229 MB / 1.315 GB, free: 42.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008591/1.122, allocations: 0.62 MB / 1.315 GB, free: 42.26 MB / 0.9981 GB Notification: Performance of SimCode: time 9.91e-07/1.122, allocations: 4 kB / 1.315 GB, free: 42.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.167/2.29, allocations: 37.75 MB / 1.352 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/2.29, allocations: 232 kB / 1.352 GB, free: 16.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/5.08, allocations: 3.938 kB / 1.352 GB, free: 16.32 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)