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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.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.0008039/0.0008038, allocations: 87.84 kB / 15.06 MB, free: 1.082 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.0008046/0.0008046, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.509/2.509, allocations: 409.4 MB / 0.684 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 8 kB / 0.8378 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6162/0.6166, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2184/0.835, allocations: 215 MB / 1.191 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01398/0.849, allocations: 9.796 MB / 1.201 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.8508, allocations: 59.62 kB / 1.201 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.8532, allocations: 0.8 MB / 1.202 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006453/0.8597, allocations: 2.663 MB / 1.204 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004022/0.8637, allocations: 1.443 MB / 1.206 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006048/0.8698, allocations: 5.277 MB / 1.211 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.8719, allocations: 1.186 MB / 1.212 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.8746, allocations: 1.35 MB / 1.213 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.8769, allocations: 1.405 MB / 1.215 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.8772, allocations: 76 kB / 1.215 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004388/0.8816, allocations: 1.617 MB / 1.216 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007531/0.8823, allocations: 0.584 MB / 1.217 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006926/0.883, allocations: 400.8 kB / 1.217 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.8866, allocations: 2.564 MB / 1.22 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8866, allocations: 4 kB / 1.22 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8866, allocations: 0 / 1.22 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.148e-05/0.8867, allocations: 0 / 1.22 GB, free: 1.348 MB / 0.9669 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.004812/0.8915, allocations: 2.147 MB / 1.222 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.8915, allocations: 8.031 kB / 1.222 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000294/0.8918, allocations: 206.6 kB / 1.222 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/0.895, allocations: 0.5245 MB / 1.222 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.8971, allocations: 1.175 MB / 1.224 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.622e-05/0.8972, allocations: 102.7 kB / 1.224 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.8974, allocations: 143.8 kB / 1.224 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/0.9003, allocations: 1.662 MB / 1.225 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.9004, allocations: 7.891 kB / 1.225 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.9005, allocations: 56 kB / 1.226 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.338e-05/0.9006, allocations: 70.58 kB / 1.226 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.9033, allocations: 1.447 MB / 1.227 GB, free: 9.609 MB / 0.9825 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.009186/0.9125, allocations: 6.973 MB / 1.234 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.9145, allocations: 1.202 MB / 1.235 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008978/0.9154, allocations: 0.6123 MB / 1.236 GB, free: 328 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009977/0.9164, allocations: 0.8594 MB / 1.236 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/0.9176, allocations: 0.6025 MB / 1.237 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 3.707e-06/0.9177, allocations: 0 / 1.237 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.003005/0.9207, allocations: 1.58 MB / 1.239 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.9207, allocations: 90.09 kB / 1.239 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.9222, allocations: 1.182 MB / 1.24 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.395e-05/0.9223, allocations: 45.7 kB / 1.24 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005424/0.9229, allocations: 0.6866 MB / 1.241 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.9232, allocations: 382.3 kB / 1.241 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.9233, allocations: 20 kB / 1.241 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9234, allocations: 345.9 kB / 1.241 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007227/0.9242, allocations: 421.8 kB / 1.242 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008199/0.925, allocations: 0.5518 MB / 1.242 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000831/0.9258, allocations: 0.491 MB / 1.243 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.9258, allocations: 0 / 1.243 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002054/0.9279, allocations: 1.218 MB / 1.244 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.928, allocations: 169.5 kB / 1.244 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.928, allocations: 4 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.9281, allocations: 4 kB / 1.244 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.929, allocations: 215.7 kB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.9291, allocations: 8 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.9303, allocations: 194.8 kB / 1.244 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.9304, allocations: 39.92 kB / 1.244 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.9305, allocations: 4 kB / 1.244 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001752/0.9322, allocations: 1.039 MB / 1.245 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.9322, allocations: 4.031 kB / 1.245 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.9322, allocations: 8 kB / 1.245 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009078/0.9332, allocations: 211.7 kB / 1.246 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.9332, allocations: 4 kB / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.9344, allocations: 182.9 kB / 1.246 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/0.9345, allocations: 36 kB / 1.246 GB, free: 5.426 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 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007306/0.9352, allocations: 488.8 kB / 1.246 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.9354, allocations: 150.2 kB / 1.247 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.9377, allocations: 1.25 MB / 1.248 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.9377, allocations: 12 kB / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.9377, allocations: 0 / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001684/0.9394, allocations: 1.018 MB / 1.249 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4778/1.417, allocations: 3.167 MB / 1.252 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/1.417, allocations: 3.781 kB / 1.252 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.419, allocations: 231 kB / 1.252 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/1.419, allocations: 10.83 kB / 1.252 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.065e-05/1.419, allocations: 29.27 kB / 1.252 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/1.419, allocations: 10.19 kB / 1.252 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.419, allocations: 7.031 kB / 1.252 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/1.422, allocations: 1.91 MB / 1.254 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008475/1.423, allocations: 362.7 kB / 1.254 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/1.423, allocations: 25.77 kB / 1.254 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.424, allocations: 122 kB / 1.254 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/1.424, allocations: 77.59 kB / 1.255 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/1.425, allocations: 37.23 kB / 1.255 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001464/1.426, allocations: 0.8138 MB / 1.255 GB, free: 265.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.426, allocations: 0.8125 kB / 1.255 GB, free: 265.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002459/1.429, allocations: 0.8415 MB / 1.256 GB, free: 265.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004801/1.433, allocations: 2.934 MB / 1.259 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003454/1.437, allocations: 1.612 MB / 1.261 GB, free: 263 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.437, allocations: 1.531 kB / 1.261 GB, free: 263 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/1.438, allocations: 0.5659 MB / 1.261 GB, free: 262.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004556/1.443, allocations: 0.8318 MB / 1.262 GB, free: 262.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.458, allocations: 9.726 MB / 1.271 GB, free: 257.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007693/1.459, allocations: 1.369 MB / 1.273 GB, free: 256.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00206/1.461, allocations: 456.3 kB / 1.273 GB, free: 256.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007517/1.462, allocations: 0.6281 MB / 1.274 GB, free: 256.2 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.462, allocations: 0 / 1.274 GB, free: 256.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05858/1.52, allocations: 41.59 MB / 1.314 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/1.521, allocations: 244.3 kB / 1.315 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/4.33, allocations: 4 kB / 1.315 GB, free: 216.4 MB / 0.9981 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat does not exist to compare? outputFormat=mat