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.001205/0.001205, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 198 kB / 16.54 MB, free: 6.672 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.589/1.589, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.286/3.286, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 63.31 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.507, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2143/0.7214, allocations: 166.9 MB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01387/0.7353, allocations: 8.5 MB / 1.224 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/0.7378, allocations: 39.81 kB / 1.224 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.7398, allocations: 0.5667 MB / 1.225 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005476/0.7454, allocations: 1.538 MB / 1.226 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.7486, allocations: 0.9955 MB / 1.227 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005733/0.7543, allocations: 4.101 MB / 1.231 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.7564, allocations: 1.323 MB / 1.233 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004012/0.7605, allocations: 1.48 MB / 1.234 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002869/0.7634, allocations: 1.515 MB / 1.235 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003872/0.7638, allocations: 192 kB / 1.236 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.7668, allocations: 1.1 MB / 1.237 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007061/0.7675, allocations: 0.6701 MB / 1.237 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.769, allocations: 1.035 MB / 1.238 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003907/0.7729, allocations: 2.73 MB / 1.241 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.7729, allocations: 0 / 1.241 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7729, allocations: 0 / 1.241 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.693e-05/0.773, allocations: 0 / 1.241 GB, free: 6.855 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.004821/0.7778, allocations: 2.262 MB / 1.243 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.7779, allocations: 12.62 kB / 1.243 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002732/0.7782, allocations: 223.9 kB / 1.244 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005197/0.7787, allocations: 194.8 kB / 1.244 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.7806, allocations: 1.146 MB / 1.245 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.382e-05/0.7807, allocations: 115 kB / 1.245 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.7809, allocations: 147.9 kB / 1.245 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002911/0.7838, allocations: 1.927 MB / 1.247 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.7838, allocations: 4 kB / 1.247 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.784, allocations: 60 kB / 1.247 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.784, allocations: 36 kB / 1.247 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7958/1.58, allocations: 2.475 MB / 1.249 GB, free: 194.4 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.01072/1.591, allocations: 6.138 MB / 1.255 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/1.595, allocations: 2.796 MB / 1.258 GB, free: 192 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002315/1.597, allocations: 1.422 MB / 1.26 GB, free: 192 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/1.599, allocations: 1.733 MB / 1.261 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/1.599, allocations: 58.98 kB / 1.261 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=237): time 4.107e-06/1.599, allocations: 0 / 1.261 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=237): time 0.007059/1.606, allocations: 3.434 MB / 1.265 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/1.606, allocations: 76.06 kB / 1.265 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/1.608, allocations: 0.7764 MB / 1.266 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001883/1.608, allocations: 63.33 kB / 1.266 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000596/1.609, allocations: 496.2 kB / 1.266 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/1.61, allocations: 0.7866 MB / 1.267 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000795/1.611, allocations: 352.8 kB / 1.267 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.611, allocations: 306.8 kB / 1.267 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/1.613, allocations: 0.8992 MB / 1.268 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/1.616, allocations: 1.128 MB / 1.269 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005268/1.621, allocations: 2.223 MB / 1.272 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/1.621, allocations: 2.469 kB / 1.272 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005528/1.627, allocations: 2.433 MB / 1.274 GB, free: 186 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/1.627, allocations: 9.531 kB / 1.274 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/1.627, allocations: 5.156 kB / 1.274 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.617e-05/1.627, allocations: 13.72 kB / 1.274 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/1.629, allocations: 434.6 kB / 1.274 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.499e-05/1.629, allocations: 17.55 kB / 1.274 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/1.63, allocations: 157 kB / 1.275 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/1.631, allocations: 73.48 kB / 1.275 GB, free: 185.9 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.0009523/1.632, allocations: 445.4 kB / 1.275 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/1.632, allocations: 141.6 kB / 1.275 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005747/1.638, allocations: 2.727 MB / 1.278 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-05/1.638, allocations: 26.72 kB / 1.278 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/1.638, allocations: 3.938 kB / 1.278 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004456/1.642, allocations: 2.387 MB / 1.28 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008363/1.651, allocations: 4.295 MB / 1.284 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.651, allocations: 1.406 kB / 1.284 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/1.652, allocations: 411 kB / 1.285 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006232/1.653, allocations: 96.17 kB / 1.285 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/1.653, allocations: 56.94 kB / 1.285 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00066/1.654, allocations: 1.12 MB / 1.286 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.654, allocations: 1.125 kB / 1.286 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00754/1.661, allocations: 4.057 MB / 1.29 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.663, allocations: 484.2 kB / 1.29 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004892/1.663, allocations: 40.94 kB / 1.291 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.665, allocations: 47.73 kB / 1.291 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/1.665, allocations: 152.8 kB / 1.291 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.665, allocations: 67.3 kB / 1.291 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000766/1.666, allocations: 0.5467 MB / 1.291 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.666, allocations: 0 / 1.291 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002079/1.668, allocations: 0.6476 MB / 1.292 GB, free: 177.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.006843/1.675, allocations: 4.89 MB / 1.297 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009301/1.684, allocations: 4.853 MB / 1.301 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.684, allocations: 0 / 1.301 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/1.687, allocations: 1.29 MB / 1.303 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/1.691, allocations: 0.5839 MB / 1.303 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/1.716, allocations: 14.26 MB / 1.317 GB, free: 153 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/1.717, allocations: 1.339 MB / 1.319 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002332/1.72, allocations: 0.7189 MB / 1.319 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.721, allocations: 0.6281 MB / 1.32 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.432e-06/1.721, allocations: 0 / 1.32 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07705/1.798, allocations: 39.42 MB / 1.358 GB, free: 111.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/14.68, allocations: 4 kB / 1.358 GB, free: 111.3 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)