Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ChimneyShaftWithVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_latest_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.001451/0.001451, allocations: 108 kB / 15.61 MB, free: 152 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.002039/0.002039, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.588/1.588, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 8.467/8.467, allocations: 461.9 MB / 0.7347 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.62 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4993/0.5006, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.661/2.161, allocations: 235.9 MB / 1.283 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03895/2.2, allocations: 10.41 MB / 1.293 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007422/2.208, allocations: 63.22 kB / 1.293 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008049/2.216, allocations: 1.194 MB / 1.295 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02405/2.24, allocations: 3.656 MB / 1.298 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01174/2.252, allocations: 2.058 MB / 1.3 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01405/2.266, allocations: 4.452 MB / 1.305 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006105/2.272, allocations: 1.572 MB / 1.306 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007079/2.279, allocations: 1.592 MB / 1.308 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006169/2.285, allocations: 1.495 MB / 1.309 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001516/2.287, allocations: 185.4 kB / 1.309 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01374/2.301, allocations: 3.239 MB / 1.312 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002193/2.303, allocations: 0.696 MB / 1.313 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005042/2.308, allocations: 1.062 MB / 1.314 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.015/2.323, allocations: 3.783 MB / 1.318 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/2.323, allocations: 0 / 1.318 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.555e-06/2.323, allocations: 0 / 1.318 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001575/2.323, allocations: 0.875 kB / 1.318 GB, free: 1.004 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.011/2.334, allocations: 2.477 MB / 1.32 GB, free: 15.85 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 8.27e-05/2.334, allocations: 11.25 kB / 1.32 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007888/2.335, allocations: 206.8 kB / 1.32 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004349/2.34, allocations: 0.5222 MB / 1.321 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/2.343, allocations: 1.23 MB / 1.322 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/2.344, allocations: 102.6 kB / 1.322 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004794/2.344, allocations: 129.9 kB / 1.322 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004046/2.348, allocations: 1.684 MB / 1.324 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/2.348, allocations: 2.688 kB / 1.324 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/2.348, allocations: 53.62 kB / 1.324 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-05/2.348, allocations: 74.53 kB / 1.324 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/2.351, allocations: 1.444 MB / 1.326 GB, free: 15.05 MB / 1.014 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.01143/2.363, allocations: 7.029 MB / 1.332 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/2.365, allocations: 1.193 MB / 1.334 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/2.366, allocations: 0.6136 MB / 1.334 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/2.368, allocations: 0.8638 MB / 1.335 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/2.369, allocations: 0.6091 MB / 1.336 GB, free: 10.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 3.787e-06/2.369, allocations: 2.531 kB / 1.336 GB, free: 10.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.003347/2.372, allocations: 1.567 MB / 1.337 GB, free: 10.28 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/2.372, allocations: 98.77 kB / 1.337 GB, free: 10.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/2.374, allocations: 1.195 MB / 1.338 GB, free: 10.01 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/2.375, allocations: 46.98 kB / 1.339 GB, free: 9.977 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007163/2.375, allocations: 0.6775 MB / 1.339 GB, free: 9.742 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/2.376, allocations: 381.3 kB / 1.34 GB, free: 9.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/2.376, allocations: 176.4 kB / 1.34 GB, free: 9.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001739/2.376, allocations: 354.5 kB / 1.34 GB, free: 9.168 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/2.377, allocations: 432.2 kB / 1.34 GB, free: 9.152 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008803/2.378, allocations: 0.5541 MB / 1.341 GB, free: 9.047 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/2.38, allocations: 1.015 MB / 1.342 GB, free: 8.934 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/2.38, allocations: 0 / 1.342 GB, free: 8.934 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002529/2.382, allocations: 1.221 MB / 1.343 GB, free: 8.801 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/2.382, allocations: 8.828 kB / 1.343 GB, free: 8.801 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/2.382, allocations: 3.031 kB / 1.343 GB, free: 8.801 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/2.382, allocations: 5.5 kB / 1.343 GB, free: 8.801 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/2.383, allocations: 217.2 kB / 1.343 GB, free: 8.801 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.252e-05/2.383, allocations: 6.516 kB / 1.343 GB, free: 8.801 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/2.385, allocations: 98.33 kB / 1.344 GB, free: 8.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/2.385, allocations: 47.72 kB / 1.344 GB, free: 8.742 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001371/2.386, allocations: 0.7334 MB / 1.344 GB, free: 8.656 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008477/2.387, allocations: 0.5399 MB / 1.345 GB, free: 8.555 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00146/2.389, allocations: 0.9985 MB / 1.346 GB, free: 8.445 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/2.389, allocations: 0 / 1.346 GB, free: 8.445 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002233/2.391, allocations: 1.191 MB / 1.347 GB, free: 8.316 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/2.391, allocations: 7.5 kB / 1.347 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/2.391, allocations: 8.484 kB / 1.347 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/2.391, allocations: 5.562 kB / 1.347 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008863/2.392, allocations: 213 kB / 1.347 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/2.392, allocations: 5.812 kB / 1.347 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/2.393, allocations: 71.09 kB / 1.347 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/2.393, allocations: 37.56 kB / 1.347 GB, free: 8.281 MB / 1.014 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.0004353/2.394, allocations: 242.5 kB / 1.347 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/2.394, allocations: 156.6 kB / 1.348 GB, free: 8.012 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/2.397, allocations: 1.246 MB / 1.349 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/2.397, allocations: 10.84 kB / 1.349 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/2.397, allocations: 0.875 kB / 1.349 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001849/2.399, allocations: 1.011 MB / 1.35 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/2.412, allocations: 3.17 MB / 1.353 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.485e-06/2.412, allocations: 1.906 kB / 1.353 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/2.413, allocations: 229.8 kB / 1.353 GB, free: 6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/2.413, allocations: 7.344 kB / 1.353 GB, free: 6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.763e-05/2.413, allocations: 31.7 kB / 1.353 GB, free: 5.984 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/2.413, allocations: 7.094 kB / 1.353 GB, free: 5.984 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/2.413, allocations: 8.719 kB / 1.353 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003312/2.416, allocations: 1.914 MB / 1.355 GB, free: 5.059 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009098/2.417, allocations: 353 kB / 1.355 GB, free: 4.809 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007012/2.424, allocations: 25.89 kB / 1.355 GB, free: 4.793 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/2.426, allocations: 45 kB / 1.356 GB, free: 4.77 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/2.426, allocations: 85.94 kB / 1.356 GB, free: 4.746 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/2.426, allocations: 34.41 kB / 1.356 GB, free: 4.738 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001494/2.427, allocations: 0.8258 MB / 1.356 GB, free: 4.418 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/2.427, allocations: 0 / 1.356 GB, free: 4.418 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002714/2.43, allocations: 0.8376 MB / 1.357 GB, free: 4.246 MB / 1.014 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.004994/2.435, allocations: 2.929 MB / 1.36 GB, free: 2.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004033/2.439, allocations: 1.866 MB / 1.362 GB, free: 2.102 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/2.439, allocations: 1.25 kB / 1.362 GB, free: 2.102 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007476/2.447, allocations: 0.5681 MB / 1.362 GB, free: 1.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004829/2.452, allocations: 0.8788 MB / 1.363 GB, free: 1.656 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0298/2.481, allocations: 12.02 MB / 1.375 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/2.483, allocations: 1.362 MB / 1.376 GB, free: 9.363 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002307/2.485, allocations: 453.8 kB / 1.377 GB, free: 9.156 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000908/2.486, allocations: 0.6326 MB / 1.377 GB, free: 8.621 MB / 1.029 GB Notification: Performance of SimCode: time 1.463e-06/2.486, allocations: 0 / 1.377 GB, free: 8.621 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2341/2.72, allocations: 42.3 MB / 1.419 GB, free: 15.42 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.942/12.66, allocations: 10.45 kB / 1.419 GB, free: 15.41 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)