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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001011/0.001011, allocations: 168.7 kB / 15.95 MB, free: 204 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.562/1.562, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.633/2.633, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003662, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.801, allocations: 142.3 MB / 0.9538 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1736/0.9746, allocations: 152.2 MB / 1.103 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01348/0.9882, allocations: 8.331 MB / 1.111 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.99, allocations: 35.75 kB / 1.111 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.9917, allocations: 0.5089 MB / 1.111 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003831/0.9955, allocations: 1.248 MB / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.9985, allocations: 0.9224 MB / 1.113 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004431/1.003, allocations: 3.106 MB / 1.116 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/1.004, allocations: 0.7124 MB / 1.117 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/1.006, allocations: 0.8518 MB / 1.118 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/1.008, allocations: 0.9181 MB / 1.119 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/1.008, allocations: 44 kB / 1.119 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/1.01, allocations: 0.8343 MB / 1.12 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/1.01, allocations: 215 kB / 1.12 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003557/1.011, allocations: 241.1 kB / 1.12 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/1.012, allocations: 1.216 MB / 1.121 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.012, allocations: 0 / 1.121 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.613e-06/1.012, allocations: 0 / 1.121 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.407e-05/1.012, allocations: 0 / 1.121 GB, free: 4.258 MB / 0.8731 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.002397/1.015, allocations: 1.38 MB / 1.123 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.015, allocations: 8.031 kB / 1.123 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/1.015, allocations: 122.8 kB / 1.123 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/1.015, allocations: 134.5 kB / 1.123 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/1.016, allocations: 0.8243 MB / 1.124 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/1.017, allocations: 58 kB / 1.124 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/1.017, allocations: 79.98 kB / 1.124 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/1.018, allocations: 0.8615 MB / 1.125 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/1.018, allocations: 15.84 kB / 1.125 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/1.018, allocations: 32 kB / 1.125 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/1.018, allocations: 20 kB / 1.125 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/1.02, allocations: 0.6324 MB / 1.125 GB, free: 15.95 MB / 0.8887 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.005116/1.025, allocations: 3.958 MB / 1.129 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/1.026, allocations: 0.5721 MB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/1.026, allocations: 301.9 kB / 1.13 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/1.028, allocations: 1.236 MB / 1.131 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006688/1.028, allocations: 342.9 kB / 1.132 GB, free: 9 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=63): time 3.747e-06/1.028, allocations: 0 / 1.132 GB, free: 9 MB / 0.8887 GB Notification: Performance of matching and sorting (n=63): time 0.003024/1.031, allocations: 1.146 MB / 1.133 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/1.032, allocations: 89.67 kB / 1.133 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/1.033, allocations: 0.8571 MB / 1.134 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/1.033, allocations: 37.7 kB / 1.134 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000422/1.033, allocations: 464.2 kB / 1.134 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/1.034, allocations: 220.8 kB / 1.134 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/1.034, allocations: 12 kB / 1.134 GB, free: 6.09 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.034, allocations: 326 kB / 1.135 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/1.034, allocations: 209.2 kB / 1.135 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/1.035, allocations: 316.4 kB / 1.135 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/1.035, allocations: 246.1 kB / 1.135 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.035, allocations: 0 / 1.135 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001307/1.037, allocations: 0.7133 MB / 1.136 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/1.037, allocations: 159.1 kB / 1.136 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.037, allocations: 4 kB / 1.136 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/1.037, allocations: 112.8 kB / 1.136 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/1.038, allocations: 119.8 kB / 1.136 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006062/1.038, allocations: 0.6538 MB / 1.137 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/1.039, allocations: 103.3 kB / 1.137 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/1.039, allocations: 24 kB / 1.137 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/1.039, allocations: 13.34 kB / 1.137 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001052/1.04, allocations: 0.5683 MB / 1.138 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.04, allocations: 0 / 1.138 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004371/1.041, allocations: 113.1 kB / 1.138 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/1.041, allocations: 115.8 kB / 1.138 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000576/1.042, allocations: 0.6538 MB / 1.139 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/1.042, allocations: 83.41 kB / 1.139 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/1.042, allocations: 31.98 kB / 1.139 GB, free: 1.422 MB / 0.8887 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 () * Number of clocked 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.0005085/1.043, allocations: 327.1 kB / 1.139 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/1.043, allocations: 102.8 kB / 1.139 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/1.045, allocations: 0.9499 MB / 1.14 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/1.045, allocations: 4 kB / 1.14 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.045, allocations: 7.953 kB / 1.14 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001315/1.046, allocations: 0.8581 MB / 1.141 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/1.049, allocations: 1.861 MB / 1.143 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.049, allocations: 4 kB / 1.143 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/1.05, allocations: 95.89 kB / 1.143 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006381/1.051, allocations: 169.5 kB / 1.143 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/1.051, allocations: 23.98 kB / 1.143 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009968/1.052, allocations: 1.246 MB / 1.144 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.052, allocations: 0 / 1.144 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/1.054, allocations: 1.28 MB / 1.145 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/1.054, allocations: 271.6 kB / 1.146 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/1.055, allocations: 19.98 kB / 1.146 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/1.055, allocations: 55.86 kB / 1.146 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/1.055, allocations: 52.53 kB / 1.146 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/1.056, allocations: 32.08 kB / 1.146 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009699/1.056, allocations: 0.5934 MB / 1.146 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.61e-07/1.057, allocations: 0 / 1.146 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001744/1.058, allocations: 0.5534 MB / 1.147 GB, free: 8.664 MB / 0.9044 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * 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.004305/1.063, allocations: 2.423 MB / 1.149 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002033/1.065, allocations: 0.9225 MB / 1.15 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.065, allocations: 256 / 1.15 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007927/1.065, allocations: 395.5 kB / 1.151 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.068, allocations: 440.4 kB / 1.151 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.079, allocations: 6.023 MB / 1.157 GB, free: 14.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008744/1.08, allocations: 1.069 MB / 1.158 GB, free: 13.28 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001098/1.081, allocations: 211.1 kB / 1.158 GB, free: 13.07 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/1.082, allocations: 407.3 kB / 1.159 GB, free: 12.67 MB / 0.92 GB Notification: Performance of SimCode: time 8.22e-07/1.082, allocations: 0 / 1.159 GB, free: 12.67 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05986/1.142, allocations: 28.77 MB / 1.187 GB, free: 344 kB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/1.142, allocations: 256.7 kB / 1.187 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/3.789, allocations: 3.938 kB / 1.187 GB, free: 15.98 MB / 0.9512 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