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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001338/0.001338, 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.001825/0.001825, allocations: 193.9 kB / 16.26 MB, free: 6.625 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.831/1.831, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.418/3.418, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 61.67 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4062, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2038/0.6101, allocations: 164.7 MB / 1.213 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.626, allocations: 8.461 MB / 1.222 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002705/0.6288, allocations: 35.81 kB / 1.222 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.6311, allocations: 0.4896 MB / 1.222 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005317/0.6365, allocations: 1.439 MB / 1.223 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.6397, allocations: 0.9146 MB / 1.224 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005527/0.6452, allocations: 4.105 MB / 1.228 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.6475, allocations: 1.303 MB / 1.23 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009816/0.6574, allocations: 1.506 MB / 1.231 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003061/0.6604, allocations: 1.577 MB / 1.233 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008495/0.6613, allocations: 191.9 kB / 1.233 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.6649, allocations: 1.111 MB / 1.234 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.666, allocations: 0.674 MB / 1.235 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.6687, allocations: 1.027 MB / 1.236 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004184/0.6729, allocations: 2.75 MB / 1.238 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.6729, allocations: 0 / 1.238 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6729, allocations: 0 / 1.238 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.6729, allocations: 0 / 1.238 GB, free: 9.641 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.004196/0.6771, allocations: 2.258 MB / 1.24 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.6772, allocations: 12.61 kB / 1.24 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002611/0.6775, allocations: 223.9 kB / 1.241 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/0.6779, allocations: 190.8 kB / 1.241 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.6799, allocations: 1.181 MB / 1.242 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.68, allocations: 123 kB / 1.242 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.6802, allocations: 144 kB / 1.242 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/0.6831, allocations: 1.919 MB / 1.244 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.6831, allocations: 7.875 kB / 1.244 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.6833, allocations: 68 kB / 1.244 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.6833, allocations: 36 kB / 1.244 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003574/0.6869, allocations: 2.478 MB / 1.247 GB, free: 0.8555 MB / 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.6849/1.372, allocations: 6.078 MB / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003885/1.376, allocations: 2.791 MB / 1.255 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/1.378, allocations: 1.423 MB / 1.257 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001694/1.38, allocations: 1.729 MB / 1.258 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/1.38, allocations: 61.33 kB / 1.258 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=237): time 4.428e-06/1.38, allocations: 3.906 kB / 1.258 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=237): time 0.006574/1.386, allocations: 3.432 MB / 1.262 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/1.386, allocations: 79.44 kB / 1.262 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/1.388, allocations: 0.758 MB / 1.263 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001575/1.388, allocations: 64.02 kB / 1.263 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004753/1.389, allocations: 496 kB / 1.263 GB, free: 189 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008289/1.39, allocations: 0.7841 MB / 1.264 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007337/1.39, allocations: 353.4 kB / 1.264 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.954e-05/1.39, allocations: 301.8 kB / 1.265 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/1.392, allocations: 0.9004 MB / 1.265 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/1.395, allocations: 1.125 MB / 1.267 GB, free: 188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/1.399, allocations: 2.228 MB / 1.269 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/1.399, allocations: 1.094 kB / 1.269 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005202/1.404, allocations: 2.433 MB / 1.271 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/1.404, allocations: 7 kB / 1.271 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.404, allocations: 3.953 kB / 1.271 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.432e-05/1.404, allocations: 12.06 kB / 1.271 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/1.406, allocations: 436.6 kB / 1.272 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.312e-05/1.406, allocations: 16.78 kB / 1.272 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.407, allocations: 206.4 kB / 1.272 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/1.407, allocations: 74.75 kB / 1.272 GB, free: 186.4 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.00085/1.408, allocations: 441.2 kB / 1.272 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003224/1.409, allocations: 145.1 kB / 1.272 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005228/1.414, allocations: 2.725 MB / 1.275 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/1.414, allocations: 29.91 kB / 1.275 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.414, allocations: 0.7969 kB / 1.275 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00411/1.418, allocations: 2.381 MB / 1.277 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/1.429, allocations: 4.304 MB / 1.282 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/1.429, allocations: 2.156 kB / 1.282 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/1.431, allocations: 407.3 kB / 1.282 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007395/1.431, allocations: 101.3 kB / 1.282 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002674/1.432, allocations: 52.56 kB / 1.282 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007576/1.433, allocations: 1.121 MB / 1.283 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.433, allocations: 1.062 kB / 1.283 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009349/1.442, allocations: 4.057 MB / 1.287 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/1.444, allocations: 475 kB / 1.288 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004129/1.444, allocations: 42.73 kB / 1.288 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/1.446, allocations: 110 kB / 1.288 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000438/1.446, allocations: 144.5 kB / 1.288 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/1.446, allocations: 67.91 kB / 1.288 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001045/1.448, allocations: 0.5373 MB / 1.288 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.91e-07/1.448, allocations: 0 / 1.288 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002977/1.451, allocations: 0.6435 MB / 1.289 GB, free: 178.7 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.007708/1.458, allocations: 4.887 MB / 1.294 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.47, allocations: 4.861 MB / 1.299 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/1.47, allocations: 0 / 1.299 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003416/1.473, allocations: 1.276 MB / 1.3 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004849/1.478, allocations: 0.5848 MB / 1.3 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02566/1.504, allocations: 14.87 MB / 1.315 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008008/1.505, allocations: 1.343 MB / 1.316 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00233/1.507, allocations: 0.7267 MB / 1.317 GB, free: 153 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009828/1.508, allocations: 0.6203 MB / 1.318 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.532e-06/1.508, allocations: 0 / 1.318 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07575/1.584, allocations: 38.87 MB / 1.356 GB, free: 114 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/1.584, allocations: 232.8 kB / 1.356 GB, free: 113.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.399/4.983, allocations: 0 / 1.356 GB, free: 113.7 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)