Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001085/0.001085, allocations: 176.9 kB / 492.3 MB, free: 0.625 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.444/1.444, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009863/0.0009864, allocations: 90.64 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.782e-05/3.796e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2554, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.441, allocations: 461.4 MB / 1.663 GB, free: 1.539 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/1.441, allocations: 91.5 kB / 1.663 GB, free: 1.492 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.407/2.848, allocations: 339 MB / 1.994 GB, free: 211.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.946e-06/2.848, allocations: 0 / 1.994 GB, free: 211.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002172/2.848, allocations: 31.98 kB / 1.994 GB, free: 211.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.004148/2.852, allocations: 1.327 MB / 1.996 GB, free: 210 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/2.852, allocations: 12.03 kB / 1.996 GB, free: 210 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003855/2.853, allocations: 126.7 kB / 1.996 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007106/2.853, allocations: 138.4 kB / 1.996 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/2.856, allocations: 0.9663 MB / 1.997 GB, free: 208.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/2.856, allocations: 62 kB / 1.997 GB, free: 208.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/2.857, allocations: 80.59 kB / 1.997 GB, free: 208.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/2.858, allocations: 0.8304 MB / 1.998 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/2.858, allocations: 3.938 kB / 1.998 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.359e-05/2.858, allocations: 39.98 kB / 1.998 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/2.858, allocations: 20 kB / 1.998 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/2.859, allocations: 0.5701 MB / 1.998 GB, free: 207.1 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.004718/2.864, allocations: 3.785 MB / 2.002 GB, free: 203.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/2.865, allocations: 0.5237 MB / 2.003 GB, free: 202.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/2.865, allocations: 282.4 kB / 2.003 GB, free: 202.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007999/2.866, allocations: 1.243 MB / 2.004 GB, free: 200.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004563/2.867, allocations: 319.2 kB / 2.004 GB, free: 200.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=63): time 2.524e-06/2.867, allocations: 0 / 2.004 GB, free: 200.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=63): time 0.00121/2.868, allocations: 0.6323 MB / 2.005 GB, free: 199.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/2.868, allocations: 85.67 kB / 2.005 GB, free: 199.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009382/2.869, allocations: 0.7668 MB / 2.006 GB, free: 198.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/2.869, allocations: 41.7 kB / 2.006 GB, free: 198.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/2.869, allocations: 460.2 kB / 2.006 GB, free: 198.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/2.869, allocations: 220.8 kB / 2.006 GB, free: 198.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/2.869, allocations: 12 kB / 2.007 GB, free: 198.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.6e-05/2.87, allocations: 334 kB / 2.007 GB, free: 197.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/2.87, allocations: 185.5 kB / 2.007 GB, free: 197.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/2.87, allocations: 322.1 kB / 2.007 GB, free: 197.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/2.87, allocations: 231.1 kB / 2.008 GB, free: 197.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/2.871, allocations: 0 / 2.008 GB, free: 197.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009829/2.871, allocations: 0.6782 MB / 2.008 GB, free: 196.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/2.872, allocations: 0.8754 MB / 2.009 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/2.872, allocations: 4 kB / 2.009 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/2.872, allocations: 108.7 kB / 2.009 GB, free: 195.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/2.873, allocations: 127.8 kB / 2.009 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004263/2.873, allocations: 0.6577 MB / 2.01 GB, free: 194.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007071/2.874, allocations: 95.39 kB / 2.01 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/2.874, allocations: 31.98 kB / 2.01 GB, free: 194.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/2.874, allocations: 5.25 kB / 2.01 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000846/2.875, allocations: 0.5605 MB / 2.011 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/2.875, allocations: 0 / 2.011 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/2.875, allocations: 104.8 kB / 2.011 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/2.876, allocations: 120.1 kB / 2.011 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003785/2.876, allocations: 0.6615 MB / 2.011 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006182/2.877, allocations: 91.45 kB / 2.012 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/2.877, allocations: 31.92 kB / 2.012 GB, free: 192.8 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.0001818/2.877, allocations: 140.8 kB / 2.012 GB, free: 192.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/2.877, allocations: 98.78 kB / 2.012 GB, free: 192.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/2.879, allocations: 0.9301 MB / 2.013 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/2.879, allocations: 11.94 kB / 2.013 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/2.879, allocations: 0 / 2.013 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009541/2.88, allocations: 0.826 MB / 2.014 GB, free: 190.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/2.882, allocations: 1.856 MB / 2.015 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/2.882, allocations: 0 / 2.015 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/2.883, allocations: 107.9 kB / 2.015 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005644/2.883, allocations: 149.6 kB / 2.016 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.063e-05/2.883, allocations: 24.02 kB / 2.016 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006482/2.884, allocations: 1.253 MB / 2.017 GB, free: 187.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.884, allocations: 4.031 kB / 2.017 GB, free: 187.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/2.885, allocations: 1.252 MB / 2.018 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/2.886, allocations: 279.6 kB / 2.018 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/2.886, allocations: 19.95 kB / 2.018 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/2.887, allocations: 72 kB / 2.018 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/2.887, allocations: 44.72 kB / 2.018 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/2.887, allocations: 31.92 kB / 2.018 GB, free: 185.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007964/2.888, allocations: 0.5976 MB / 2.019 GB, free: 184.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2e-07/2.888, allocations: 0 / 2.019 GB, free: 184.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001658/2.889, allocations: 0.6159 MB / 2.02 GB, free: 184.2 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.003492/2.893, allocations: 2.741 MB / 2.022 GB, free: 181.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001612/2.894, allocations: 0.922 MB / 2.023 GB, free: 180.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.894, allocations: 4 kB / 2.023 GB, free: 180.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/2.895, allocations: 360.3 kB / 2.024 GB, free: 180.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/2.897, allocations: 421.7 kB / 2.024 GB, free: 179.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/2.9, allocations: 1.914 MB / 2.026 GB, free: 177.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/2.901, allocations: 1.102 MB / 2.027 GB, free: 176.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001069/2.902, allocations: 286.9 kB / 2.027 GB, free: 176.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/2.902, allocations: 403.3 kB / 2.028 GB, free: 176.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.142e-06/2.902, allocations: 0 / 2.028 GB, free: 176.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05407/2.956, allocations: 34.71 MB / 2.061 GB, free: 141.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/2.956, allocations: 223.8 kB / 2.062 GB, free: 141.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.335/6.292, allocations: 0 / 2.062 GB, free: 141.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat does not exist to compare? outputFormat=mat