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.321/2.321, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001117/0.001117, allocations: 172.8 kB / 487.4 MB, free: 5.074 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.584/1.584, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 99.58 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.837e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3119, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.28/1.592, allocations: 460.8 MB / 1.656 GB, free: 10.02 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/1.592, allocations: 87.45 kB / 1.656 GB, free: 9.973 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.429/3.021, allocations: 337 MB / 1.985 GB, free: 225 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.613e-06/3.021, allocations: 0 / 1.985 GB, free: 225 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000154/3.021, allocations: 32 kB / 1.985 GB, free: 225 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.002937/3.024, allocations: 1.323 MB / 1.986 GB, free: 223.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/3.024, allocations: 20.02 kB / 1.987 GB, free: 223.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005326/3.025, allocations: 138.4 kB / 1.987 GB, free: 223.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/3.027, allocations: 0.9702 MB / 1.988 GB, free: 222.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/3.027, allocations: 28 kB / 1.988 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/3.027, allocations: 48.59 kB / 1.988 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009225/3.028, allocations: 0.531 MB / 1.988 GB, free: 221.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/3.029, allocations: 0.721 MB / 1.989 GB, free: 221.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/3.029, allocations: 0 / 1.989 GB, free: 221.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/3.029, allocations: 8 kB / 1.989 GB, free: 221.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/3.029, allocations: 16 kB / 1.989 GB, free: 221.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.004066/3.033, allocations: 3.623 MB / 1.992 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/3.034, allocations: 492.5 kB / 1.993 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/3.034, allocations: 261.1 kB / 1.993 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007421/3.035, allocations: 1.243 MB / 1.994 GB, free: 215 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000403/3.035, allocations: 286 kB / 1.995 GB, free: 214.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=63): time 2.345e-06/3.035, allocations: 0 / 1.995 GB, free: 214.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=63): time 0.00151/3.037, allocations: 0.6324 MB / 1.995 GB, free: 214 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/3.037, allocations: 85.67 kB / 1.995 GB, free: 213.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/3.038, allocations: 0.6529 MB / 1.996 GB, free: 213.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/3.038, allocations: 29.7 kB / 1.996 GB, free: 213.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/3.038, allocations: 460 kB / 1.996 GB, free: 212.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/3.038, allocations: 216.8 kB / 1.997 GB, free: 212.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/3.038, allocations: 0 / 1.997 GB, free: 212.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.672e-05/3.038, allocations: 326 kB / 1.997 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/3.038, allocations: 177.5 kB / 1.997 GB, free: 212.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/3.039, allocations: 312.4 kB / 1.997 GB, free: 211.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007465/3.04, allocations: 250 kB / 1.998 GB, free: 211.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/3.04, allocations: 3.938 kB / 1.998 GB, free: 211.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001305/3.041, allocations: 0.6549 MB / 1.998 GB, free: 210.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/3.041, allocations: 0.8832 MB / 1.999 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/3.041, allocations: 4 kB / 1.999 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002935/3.041, allocations: 80.81 kB / 1.999 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/3.042, allocations: 119.8 kB / 1.999 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005561/3.042, allocations: 0.6771 MB / 2 GB, free: 208.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/3.043, allocations: 79.55 kB / 2 GB, free: 208.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/3.043, allocations: 28.08 kB / 2 GB, free: 208.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/3.043, allocations: 8.875 kB / 2 GB, free: 208.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001131/3.044, allocations: 0.537 MB / 2.001 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/3.044, allocations: 4 kB / 2.001 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/3.045, allocations: 76.83 kB / 2.001 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/3.045, allocations: 115.8 kB / 2.001 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004946/3.046, allocations: 0.6891 MB / 2.002 GB, free: 207.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006438/3.046, allocations: 63.61 kB / 2.002 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/3.046, allocations: 24 kB / 2.002 GB, free: 207.3 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.0001668/3.046, allocations: 128.5 kB / 2.002 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001264/3.048, allocations: 0.6331 MB / 2.002 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/3.048, allocations: 86.97 kB / 2.002 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/3.05, allocations: 0.8779 MB / 2.003 GB, free: 205.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/3.05, allocations: 8 kB / 2.003 GB, free: 205.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/3.05, allocations: 3.984 kB / 2.003 GB, free: 205.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/3.051, allocations: 0.8064 MB / 2.004 GB, free: 204.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/3.054, allocations: 1.712 MB / 2.006 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/3.054, allocations: 4 kB / 2.006 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/3.054, allocations: 103.9 kB / 2.006 GB, free: 202.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003834/3.054, allocations: 149.4 kB / 2.006 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/3.055, allocations: 24 kB / 2.006 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007764/3.055, allocations: 1.241 MB / 2.007 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/3.055, allocations: 4.031 kB / 2.007 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/3.057, allocations: 1.217 MB / 2.008 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/3.057, allocations: 279.6 kB / 2.009 GB, free: 199.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/3.058, allocations: 4 kB / 2.009 GB, free: 199.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006106/3.058, allocations: 47.95 kB / 2.009 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/3.058, allocations: 52.66 kB / 2.009 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/3.058, allocations: 27.92 kB / 2.009 GB, free: 199.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006003/3.059, allocations: 0.5069 MB / 2.009 GB, free: 199.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.6e-07/3.059, allocations: 0 / 2.009 GB, free: 199.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001879/3.061, allocations: 0.6037 MB / 2.01 GB, free: 198.5 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.003941/3.065, allocations: 2.668 MB / 2.013 GB, free: 195.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001634/3.067, allocations: 0.871 MB / 2.013 GB, free: 195 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/3.067, allocations: 256 / 2.013 GB, free: 195 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000551/3.067, allocations: 354.8 kB / 2.014 GB, free: 194.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/3.069, allocations: 349.9 kB / 2.014 GB, free: 194.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/3.072, allocations: 1.836 MB / 2.016 GB, free: 192.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/3.073, allocations: 1.09 MB / 2.017 GB, free: 191.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001117/3.074, allocations: 286.3 kB / 2.017 GB, free: 191.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/3.074, allocations: 383.3 kB / 2.018 GB, free: 190.7 MB / 1.151 GB Notification: Performance of SimCode: time 7.51e-07/3.074, allocations: 0 / 2.018 GB, free: 190.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05562/3.13, allocations: 28.79 MB / 2.046 GB, free: 162.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/3.13, allocations: 183.2 kB / 2.046 GB, free: 161.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/6.244, allocations: 4 kB / 2.046 GB, free: 161.9 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