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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002676/0.002676, allocations: 99.86 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.002622/0.002623, allocations: 177.3 kB / 15.94 MB, free: 220 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.612/2.612, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.229/5.229, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005571/0.0005573, allocations: 16 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462/1.462, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.2685/1.731, allocations: 141.7 MB / 1.119 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02327/1.754, allocations: 7.679 MB / 1.127 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003369/1.758, allocations: 35.75 kB / 1.127 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004211/1.762, allocations: 0.591 MB / 1.127 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/1.773, allocations: 1.519 MB / 1.129 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008212/1.781, allocations: 1.231 MB / 1.13 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006464/1.787, allocations: 1.63 MB / 1.132 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002786/1.79, allocations: 0.732 MB / 1.132 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003357/1.794, allocations: 0.7513 MB / 1.133 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/1.796, allocations: 0.6847 MB / 1.134 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005057/1.796, allocations: 44 kB / 1.134 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004893/1.801, allocations: 0.8621 MB / 1.135 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006874/1.802, allocations: 207.1 kB / 1.135 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009917/1.803, allocations: 245.1 kB / 1.135 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003677/1.807, allocations: 1.208 MB / 1.136 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/1.807, allocations: 0 / 1.136 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.386e-06/1.807, allocations: 3.938 kB / 1.136 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.645e-05/1.807, allocations: 0 / 1.136 GB, free: 6.797 MB / 0.8887 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.006261/1.813, allocations: 1.367 MB / 1.138 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 8.767e-05/1.813, allocations: 12.03 kB / 1.138 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006204/1.814, allocations: 130.7 kB / 1.138 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009778/1.815, allocations: 134.4 kB / 1.138 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/1.818, allocations: 0.7854 MB / 1.139 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/1.819, allocations: 65.95 kB / 1.139 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003346/1.819, allocations: 76 kB / 1.139 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/1.822, allocations: 0.8616 MB / 1.14 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.346e-05/1.822, allocations: 7.922 kB / 1.14 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/1.823, allocations: 36 kB / 1.14 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/1.823, allocations: 20 kB / 1.14 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/1.825, allocations: 0.6324 MB / 1.14 GB, free: 2.527 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.01042/1.835, allocations: 3.981 MB / 1.144 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/1.838, allocations: 0.5759 MB / 1.145 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002075/1.84, allocations: 1.247 MB / 1.146 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/1.841, allocations: 323.1 kB / 1.146 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=63): time 7.324e-06/1.841, allocations: 4 kB / 1.146 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=63): time 0.005075/1.846, allocations: 1.135 MB / 1.147 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002836/1.847, allocations: 85.67 kB / 1.147 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/1.849, allocations: 0.8844 MB / 1.148 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/1.85, allocations: 41.7 kB / 1.148 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008402/1.85, allocations: 452.2 kB / 1.149 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/1.851, allocations: 228.8 kB / 1.149 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/1.851, allocations: 8 kB / 1.149 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002798/1.851, allocations: 337.9 kB / 1.149 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007648/1.852, allocations: 205.2 kB / 1.149 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000781/1.853, allocations: 312.4 kB / 1.15 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/1.854, allocations: 242.1 kB / 1.15 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/1.854, allocations: 0 / 1.15 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002559/1.856, allocations: 0.7134 MB / 1.151 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.001039/1.857, allocations: 0.8754 MB / 1.152 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/1.857, allocations: 4 kB / 1.152 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009422/1.858, allocations: 108.8 kB / 1.152 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/1.859, allocations: 123.8 kB / 1.152 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/1.86, allocations: 0.6693 MB / 1.152 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.861, allocations: 95.3 kB / 1.153 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/1.861, allocations: 24 kB / 1.153 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.861, allocations: 7.938 kB / 1.153 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00154/1.863, allocations: 0.5761 MB / 1.153 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/1.863, allocations: 7.953 kB / 1.153 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/1.864, allocations: 105 kB / 1.153 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/1.864, allocations: 115.8 kB / 1.153 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008367/1.865, allocations: 0.6576 MB / 1.154 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009363/1.866, allocations: 87.47 kB / 1.154 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/1.866, allocations: 23.98 kB / 1.154 GB, free: 3.496 MB / 0.9044 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.0009301/1.867, allocations: 328.9 kB / 1.154 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/1.867, allocations: 102.8 kB / 1.155 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003532/1.871, allocations: 0.9482 MB / 1.155 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.104e-05/1.871, allocations: 12 kB / 1.155 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/1.871, allocations: 0 / 1.155 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002246/1.873, allocations: 0.8659 MB / 1.156 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006281/1.879, allocations: 1.853 MB / 1.158 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.88, allocations: 0 / 1.158 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/1.88, allocations: 111.8 kB / 1.158 GB, free: 15.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/1.881, allocations: 173.5 kB / 1.158 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/1.881, allocations: 12 kB / 1.158 GB, free: 14.94 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/1.883, allocations: 1.241 MB / 1.16 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.883, allocations: 8.078 kB / 1.16 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004747/1.888, allocations: 1.307 MB / 1.161 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/1.889, allocations: 275.6 kB / 1.161 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004973/1.89, allocations: 12 kB / 1.161 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/1.891, allocations: 63.86 kB / 1.161 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/1.892, allocations: 56.52 kB / 1.161 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/1.892, allocations: 20 kB / 1.161 GB, free: 11.86 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002238/1.894, allocations: 0.6169 MB / 1.162 GB, free: 11.23 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.41e-07/1.894, allocations: 0 / 1.162 GB, free: 11.23 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003756/1.898, allocations: 0.5584 MB / 1.162 GB, free: 10.67 MB / 0.92 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.008046/1.906, allocations: 2.601 MB / 1.165 GB, free: 8.191 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003811/1.91, allocations: 0.9181 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.91, allocations: 3.938 kB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001528/1.911, allocations: 396.5 kB / 1.166 GB, free: 6.887 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004162/1.916, allocations: 413.7 kB / 1.167 GB, free: 6.484 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/1.936, allocations: 7.377 MB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/1.937, allocations: 1.092 MB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001912/1.939, allocations: 220.2 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.94, allocations: 403.3 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of SimCode: time 2.335e-06/1.94, allocations: 0 / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/2.048, allocations: 29.03 MB / 1.204 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00044/2.049, allocations: 263.1 kB / 1.204 GB, free: 168 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.649/6.698, allocations: 7.938 kB / 1.204 GB, free: 160 kB / 0.9512 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) Environment - environmentSimulation: 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