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.001551/0.001551, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001886/0.001887, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.829/2.829, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.776/4.776, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005784/0.0005785, allocations: 8 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341/1.341, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.3594/1.701, allocations: 193.5 MB / 1.17 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02274/1.724, allocations: 10.35 MB / 1.18 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003998/1.728, allocations: 51.69 kB / 1.18 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004987/1.733, allocations: 1.062 MB / 1.181 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01718/1.75, allocations: 2.976 MB / 1.184 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00927/1.759, allocations: 1.578 MB / 1.186 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.008626/1.768, allocations: 2.538 MB / 1.188 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00365/1.772, allocations: 1.202 MB / 1.189 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00509/1.777, allocations: 1.25 MB / 1.19 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/1.78, allocations: 0.9377 MB / 1.191 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007935/1.781, allocations: 72 kB / 1.191 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007124/1.788, allocations: 1.357 MB / 1.193 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001992/1.79, allocations: 0.5258 MB / 1.193 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002045/1.792, allocations: 412.6 kB / 1.194 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.009413/1.801, allocations: 2.369 MB / 1.196 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/1.802, allocations: 0 / 1.196 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.154e-06/1.802, allocations: 0 / 1.196 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002149/1.802, allocations: 0 / 1.196 GB, free: 9.512 MB / 0.9512 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.01164/1.814, allocations: 2.098 MB / 1.198 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 8.586e-05/1.814, allocations: 8.031 kB / 1.198 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001315/1.815, allocations: 202.6 kB / 1.198 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007715/1.823, allocations: 0.5284 MB / 1.199 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005453/1.828, allocations: 1.175 MB / 1.2 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/1.829, allocations: 106.7 kB / 1.2 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005054/1.829, allocations: 135.9 kB / 1.2 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006055/1.835, allocations: 1.654 MB / 1.202 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.182e-05/1.835, allocations: 11.89 kB / 1.202 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/1.836, allocations: 56 kB / 1.202 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/1.836, allocations: 66.58 kB / 1.202 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005209/1.841, allocations: 1.451 MB / 1.203 GB, free: 1.832 MB / 0.9512 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.01758/1.859, allocations: 6.969 MB / 1.21 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/1.861, allocations: 1.208 MB / 1.211 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000903/1.862, allocations: 0.6893 MB / 1.212 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/1.863, allocations: 0.6063 MB / 1.212 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=110): time 5.591e-06/1.863, allocations: 0 / 1.212 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=110): time 0.004141/1.868, allocations: 1.576 MB / 1.214 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/1.868, allocations: 90.11 kB / 1.214 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/1.871, allocations: 1.186 MB / 1.215 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002567/1.871, allocations: 49.7 kB / 1.215 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/1.872, allocations: 0.6737 MB / 1.216 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007801/1.873, allocations: 382.3 kB / 1.216 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/1.873, allocations: 20 kB / 1.216 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0003131/1.874, allocations: 349.9 kB / 1.217 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/1.875, allocations: 421.8 kB / 1.217 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/1.877, allocations: 0.5479 MB / 1.218 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/1.878, allocations: 0.491 MB / 1.218 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/1.879, allocations: 0 / 1.218 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004524/1.883, allocations: 1.218 MB / 1.219 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007722/1.884, allocations: 0.9822 MB / 1.22 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/1.884, allocations: 7.984 kB / 1.22 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.281e-05/1.884, allocations: 4 kB / 1.22 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/1.886, allocations: 215.7 kB / 1.22 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/1.886, allocations: 15.88 kB / 1.22 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/1.889, allocations: 186.9 kB / 1.221 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/1.89, allocations: 35.98 kB / 1.221 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.89, allocations: 4 kB / 1.221 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003589/1.893, allocations: 1.043 MB / 1.222 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.893, allocations: 0 / 1.222 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/1.893, allocations: 11.95 kB / 1.222 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/1.895, allocations: 211.7 kB / 1.222 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.563e-05/1.895, allocations: 4 kB / 1.222 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/1.898, allocations: 179.1 kB / 1.222 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/1.898, allocations: 39.98 kB / 1.222 GB, free: 13.63 MB / 0.9825 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.001617/1.9, allocations: 494 kB / 1.223 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006614/1.901, allocations: 146.2 kB / 1.223 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/1.904, allocations: 1.243 MB / 1.224 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/1.904, allocations: 23.88 kB / 1.224 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.904, allocations: 4 kB / 1.224 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001942/1.906, allocations: 1.011 MB / 1.225 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00705/1.913, allocations: 3.17 MB / 1.228 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/1.913, allocations: 0 / 1.228 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.915, allocations: 235.7 kB / 1.228 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/1.915, allocations: 8.312 kB / 1.228 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.232e-05/1.915, allocations: 28 kB / 1.228 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.722e-05/1.915, allocations: 12 kB / 1.228 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.915, allocations: 3.938 kB / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/1.919, allocations: 2.057 MB / 1.23 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/1.92, allocations: 362.9 kB / 1.231 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/1.921, allocations: 20 kB / 1.231 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/1.922, allocations: 115.8 kB / 1.231 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/1.922, allocations: 72.89 kB / 1.231 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.311e-05/1.922, allocations: 39.98 kB / 1.231 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001482/1.924, allocations: 0.8219 MB / 1.232 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.924, allocations: 0 / 1.232 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002583/1.926, allocations: 0.8338 MB / 1.233 GB, free: 2.648 MB / 0.9825 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.00606/1.932, allocations: 3.754 MB / 1.236 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003524/1.936, allocations: 1.611 MB / 1.238 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.936, allocations: 5.188 kB / 1.238 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/1.937, allocations: 0.5642 MB / 1.238 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005252/1.942, allocations: 0.8105 MB / 1.239 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/1.964, allocations: 11.11 MB / 1.25 GB, free: 476 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.238/3.202, allocations: 1.393 MB / 1.251 GB, free: 263.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003777/3.206, allocations: 456.4 kB / 1.252 GB, free: 263.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/3.208, allocations: 0.6284 MB / 1.252 GB, free: 263.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.403e-06/3.208, allocations: 0 / 1.252 GB, free: 263.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09085/3.299, allocations: 41.56 MB / 1.293 GB, free: 237 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/3.299, allocations: 245 kB / 1.293 GB, free: 236.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.281/8.58, allocations: 0 / 1.293 GB, free: 236.8 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