Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.ChimneyShaftWithVolume,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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.0008843/0.0008843, allocations: 97.48 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.005141/0.005141, allocations: 169.2 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.204/1.204, 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 10.1.0-maint.10.0.x/package.mo): time 2.286/2.286, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 8 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.501, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6632/1.164, allocations: 230.5 MB / 1.248 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01264/1.177, allocations: 10.41 MB / 1.258 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/1.178, allocations: 51.34 kB / 1.258 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002168/1.181, allocations: 1.027 MB / 1.259 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00713/1.188, allocations: 3.445 MB / 1.263 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004462/1.192, allocations: 1.888 MB / 1.265 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006264/1.199, allocations: 6.273 MB / 1.271 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/1.2, allocations: 1.297 MB / 1.272 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/1.202, allocations: 1.333 MB / 1.273 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/1.204, allocations: 1.482 MB / 1.275 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/1.204, allocations: 75.62 kB / 1.275 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005793/1.21, allocations: 3.719 MB / 1.278 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004737/1.211, allocations: 0.5828 MB / 1.279 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009181/1.212, allocations: 0.964 MB / 1.28 GB, free: 17.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003901/1.216, allocations: 3.884 MB / 1.284 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/1.216, allocations: 0 / 1.284 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/1.216, allocations: 0 / 1.284 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.794e-05/1.216, allocations: 3 kB / 1.284 GB, free: 17.46 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00371/1.219, allocations: 2.13 MB / 1.286 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/1.219, allocations: 9.688 kB / 1.286 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002/1.22, allocations: 202.4 kB / 1.286 GB, free: 16.31 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/1.222, allocations: 0.5183 MB / 1.287 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/1.224, allocations: 1.225 MB / 1.288 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/1.224, allocations: 101.8 kB / 1.288 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/1.224, allocations: 134.3 kB / 1.288 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/1.226, allocations: 1.681 MB / 1.29 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/1.226, allocations: 8.719 kB / 1.29 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/1.226, allocations: 58.56 kB / 1.29 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.877e-05/1.226, allocations: 70.52 kB / 1.29 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/1.228, allocations: 1.457 MB / 1.291 GB, free: 15.54 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.00647/1.235, allocations: 6.969 MB / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/1.237, allocations: 1.204 MB / 1.299 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008723/1.238, allocations: 0.6204 MB / 1.3 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007697/1.238, allocations: 0.8696 MB / 1.301 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009021/1.239, allocations: 0.6142 MB / 1.301 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 2.315e-06/1.239, allocations: 0 / 1.301 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.002503/1.242, allocations: 1.587 MB / 1.303 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/1.242, allocations: 89.89 kB / 1.303 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/1.243, allocations: 1.194 MB / 1.304 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.645e-05/1.243, allocations: 49.42 kB / 1.304 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/1.243, allocations: 0.6731 MB / 1.305 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/1.244, allocations: 381.5 kB / 1.305 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.244, allocations: 88.58 kB / 1.305 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.244, allocations: 345.6 kB / 1.306 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006049/1.245, allocations: 426 kB / 1.306 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/1.245, allocations: 0.5557 MB / 1.306 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/1.247, allocations: 1.026 MB / 1.307 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.247, allocations: 7.938 kB / 1.307 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001644/1.248, allocations: 1.223 MB / 1.309 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.902e-05/1.248, allocations: 165.5 kB / 1.309 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.248, allocations: 4.875 kB / 1.309 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.248, allocations: 8.625 kB / 1.309 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/1.249, allocations: 218.1 kB / 1.309 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.249, allocations: 8.094 kB / 1.309 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.25, allocations: 189.3 kB / 1.309 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.841e-05/1.25, allocations: 39 kB / 1.309 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-06/1.251, allocations: 4.656 kB / 1.309 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001385/1.252, allocations: 1.046 MB / 1.31 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/1.252, allocations: 9.172 kB / 1.31 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/1.252, allocations: 6.094 kB / 1.31 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/1.253, allocations: 207.2 kB / 1.311 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.253, allocations: 8.625 kB / 1.311 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/1.254, allocations: 178.2 kB / 1.311 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/1.254, allocations: 36.33 kB / 1.311 GB, free: 9.031 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0005194/1.254, allocations: 491.8 kB / 1.311 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/1.255, allocations: 151.2 kB / 1.311 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/1.256, allocations: 1.256 MB / 1.313 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.256, allocations: 11.5 kB / 1.313 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.256, allocations: 0 / 1.313 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/1.258, allocations: 1.019 MB / 1.314 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/1.262, allocations: 3.171 MB / 1.317 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.262, allocations: 7.062 kB / 1.317 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009626/1.263, allocations: 232.8 kB / 1.317 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.263, allocations: 6.219 kB / 1.317 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.616e-05/1.263, allocations: 34.67 kB / 1.317 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.263, allocations: 5.938 kB / 1.317 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.263, allocations: 9.203 kB / 1.317 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/1.265, allocations: 1.917 MB / 1.319 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/1.266, allocations: 372.6 kB / 1.319 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/1.266, allocations: 27.41 kB / 1.319 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009856/1.267, allocations: 115.7 kB / 1.319 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/1.267, allocations: 76.83 kB / 1.319 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/1.267, allocations: 35.66 kB / 1.319 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008033/1.268, allocations: 0.8279 MB / 1.32 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.268, allocations: 0 / 1.32 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001476/1.269, allocations: 0.8341 MB / 1.321 GB, free: 7.18 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003641/1.273, allocations: 2.956 MB / 1.324 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002329/1.275, allocations: 1.616 MB / 1.326 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.275, allocations: 5.438 kB / 1.326 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007251/1.276, allocations: 0.5667 MB / 1.326 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/1.28, allocations: 0.8363 MB / 1.327 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.295, allocations: 12.8 MB / 1.339 GB, free: 15.54 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008245/1.296, allocations: 1.375 MB / 1.341 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001594/1.297, allocations: 458.5 kB / 1.341 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007892/1.298, allocations: 0.6196 MB / 1.342 GB, free: 13.79 MB / 1.014 GB Notification: Performance of SimCode: time 8.51e-07/1.298, allocations: 2.75 kB / 1.342 GB, free: 13.79 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05744/1.356, allocations: 40.41 MB / 1.381 GB, free: 11.09 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/1.356, allocations: 252.2 kB / 1.381 GB, free: 10.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.982, allocations: 0 / 1.381 GB, free: 10.84 MB / 1.045 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)