Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.338/2.338, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 179.9 kB / 491.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 103.5 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.877e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2916, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.503, allocations: 461.6 MB / 1.663 GB, free: 1.547 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/1.503, allocations: 85.58 kB / 1.663 GB, free: 1.508 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.36/2.863, allocations: 337 MB / 1.992 GB, free: 213.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.945e-06/2.863, allocations: 0 / 1.992 GB, free: 213.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001621/2.863, allocations: 31.98 kB / 1.992 GB, free: 213.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003309/2.866, allocations: 1.323 MB / 1.994 GB, free: 212 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/2.866, allocations: 12.03 kB / 1.994 GB, free: 212 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006139/2.867, allocations: 134.4 kB / 1.994 GB, free: 211.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/2.869, allocations: 0.9709 MB / 1.995 GB, free: 210.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/2.869, allocations: 31.98 kB / 1.995 GB, free: 210.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/2.869, allocations: 51.91 kB / 1.995 GB, free: 210.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009914/2.87, allocations: 0.5271 MB / 1.995 GB, free: 210.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/2.871, allocations: 0.7133 MB / 1.996 GB, free: 209.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/2.871, allocations: 0 / 1.996 GB, free: 209.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.198e-05/2.872, allocations: 11.98 kB / 1.996 GB, free: 209.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/2.872, allocations: 20 kB / 1.996 GB, free: 209.5 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004538/2.876, allocations: 3.619 MB / 2 GB, free: 205.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/2.877, allocations: 496.5 kB / 2 GB, free: 205.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/2.877, allocations: 259.2 kB / 2 GB, free: 204.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007922/2.878, allocations: 1.243 MB / 2.002 GB, free: 203.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004125/2.878, allocations: 286 kB / 2.002 GB, free: 203.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=63): time 2.765e-06/2.878, allocations: 0 / 2.002 GB, free: 203.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=63): time 0.001618/2.88, allocations: 0.6324 MB / 2.002 GB, free: 202.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/2.88, allocations: 89.66 kB / 2.003 GB, free: 202.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/2.881, allocations: 0.6451 MB / 2.003 GB, free: 201.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/2.881, allocations: 29.7 kB / 2.003 GB, free: 201.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/2.881, allocations: 468 kB / 2.004 GB, free: 201.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/2.881, allocations: 208.9 kB / 2.004 GB, free: 201 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/2.881, allocations: 0 / 2.004 GB, free: 201 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.084e-05/2.882, allocations: 334 kB / 2.004 GB, free: 200.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/2.882, allocations: 169.5 kB / 2.004 GB, free: 200.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/2.882, allocations: 308.4 kB / 2.005 GB, free: 200.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00079/2.883, allocations: 254.9 kB / 2.005 GB, free: 199.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.883, allocations: 4 kB / 2.005 GB, free: 199.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001314/2.884, allocations: 0.6589 MB / 2.005 GB, free: 199.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00019/2.884, allocations: 0.8763 MB / 2.006 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/2.884, allocations: 4 kB / 2.006 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/2.885, allocations: 84.75 kB / 2.006 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/2.885, allocations: 119.8 kB / 2.007 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005615/2.886, allocations: 0.6811 MB / 2.007 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007187/2.887, allocations: 79.55 kB / 2.007 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.688e-05/2.887, allocations: 27.98 kB / 2.007 GB, free: 197.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/2.887, allocations: 4 kB / 2.007 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001132/2.888, allocations: 0.5333 MB / 2.008 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/2.888, allocations: 4 kB / 2.008 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/2.888, allocations: 84.81 kB / 2.008 GB, free: 196.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/2.888, allocations: 115.8 kB / 2.008 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005164/2.889, allocations: 0.685 MB / 2.009 GB, free: 195.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/2.89, allocations: 67.55 kB / 2.009 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/2.89, allocations: 27.98 kB / 2.009 GB, free: 195.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000155/2.89, allocations: 122.4 kB / 2.009 GB, free: 195.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00127/2.891, allocations: 0.6284 MB / 2.01 GB, free: 194.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/2.891, allocations: 90.95 kB / 2.01 GB, free: 194.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/2.893, allocations: 0.8857 MB / 2.01 GB, free: 194 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/2.893, allocations: 11.98 kB / 2.01 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/2.893, allocations: 0 / 2.01 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/2.894, allocations: 0.8141 MB / 2.011 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/2.897, allocations: 1.708 MB / 2.013 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/2.897, allocations: 4.062 kB / 2.013 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/2.897, allocations: 107.8 kB / 2.013 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000381/2.898, allocations: 141.5 kB / 2.013 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/2.898, allocations: 15.98 kB / 2.013 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007451/2.899, allocations: 1.253 MB / 2.014 GB, free: 189.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/2.899, allocations: 7.891 kB / 2.014 GB, free: 189.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/2.9, allocations: 1.209 MB / 2.016 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/2.901, allocations: 271.6 kB / 2.016 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/2.901, allocations: 7.984 kB / 2.016 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/2.902, allocations: 47.89 kB / 2.016 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/2.902, allocations: 48.72 kB / 2.016 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/2.902, allocations: 23.98 kB / 2.016 GB, free: 188.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006521/2.903, allocations: 0.503 MB / 2.016 GB, free: 187.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.212e-06/2.903, allocations: 0 / 2.016 GB, free: 187.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001872/2.904, allocations: 0.6084 MB / 2.017 GB, free: 187 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003917/2.908, allocations: 2.674 MB / 2.02 GB, free: 184.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001526/2.91, allocations: 0.8662 MB / 2.021 GB, free: 183.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/2.91, allocations: 1.125 kB / 2.021 GB, free: 183.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005408/2.91, allocations: 350.9 kB / 2.021 GB, free: 183.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/2.912, allocations: 358 kB / 2.021 GB, free: 182.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/2.916, allocations: 1.84 MB / 2.023 GB, free: 180.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/2.917, allocations: 1.097 MB / 2.024 GB, free: 179.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001214/2.918, allocations: 274.2 kB / 2.024 GB, free: 179.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/2.918, allocations: 383.3 kB / 2.025 GB, free: 179.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.373e-06/2.918, allocations: 3.938 kB / 2.025 GB, free: 179.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06017/2.979, allocations: 28.8 MB / 2.053 GB, free: 150.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/2.979, allocations: 185.4 kB / 2.053 GB, free: 150.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.369/6.348, allocations: 0 / 2.053 GB, free: 150.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat does not exist to compare? outputFormat=mat