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.001039/0.001045, allocations: 84.38 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.001246/0.001246, 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.399/1.399, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.519/2.519, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003229, allocations: 12 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7766, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.171/0.9476, allocations: 152.3 MB / 1.13 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01208/0.9597, allocations: 8.328 MB / 1.138 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.9613, allocations: 31.81 kB / 1.138 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.9628, allocations: 0.5011 MB / 1.138 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.9662, allocations: 1.255 MB / 1.14 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.9689, allocations: 0.912 MB / 1.141 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003905/0.9728, allocations: 3.112 MB / 1.144 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.974, allocations: 0.7123 MB / 1.144 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.9755, allocations: 0.8518 MB / 1.145 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.9767, allocations: 0.9181 MB / 1.146 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.9768, allocations: 44 kB / 1.146 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.9789, allocations: 0.8304 MB / 1.147 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.9791, allocations: 215.1 kB / 1.147 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.9794, allocations: 237.1 kB / 1.147 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.9808, allocations: 1.22 MB / 1.149 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.9808, allocations: 0 / 1.149 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.436e-06/0.9809, allocations: 0 / 1.149 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.9809, allocations: 3.938 kB / 1.149 GB, free: 10.34 MB / 0.9044 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.002338/0.9832, allocations: 1.376 MB / 1.15 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.9833, allocations: 8.031 kB / 1.15 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.9834, allocations: 130.8 kB / 1.15 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.9837, allocations: 134.4 kB / 1.15 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.985, allocations: 0.8128 MB / 1.151 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.9851, allocations: 61.95 kB / 1.151 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.9852, allocations: 87.78 kB / 1.151 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.9866, allocations: 0.8694 MB / 1.152 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.9866, allocations: 0 / 1.152 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-05/0.9867, allocations: 36 kB / 1.152 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.9867, allocations: 20 kB / 1.152 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.9879, allocations: 0.6362 MB / 1.153 GB, free: 6.027 MB / 0.9044 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.00438/0.9923, allocations: 3.954 MB / 1.156 GB, free: 1.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.9934, allocations: 0.577 MB / 1.157 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.9939, allocations: 297.1 kB / 1.157 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009787/0.9949, allocations: 1.239 MB / 1.159 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000589/0.9955, allocations: 331 kB / 1.159 GB, free: 15.1 MB / 0.92 GB Notification: Performance of pre-optimization done (n=63): time 2.775e-06/0.9955, allocations: 4 kB / 1.159 GB, free: 15.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=63): time 0.002371/0.9979, allocations: 1.142 MB / 1.16 GB, free: 13.9 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.998, allocations: 85.67 kB / 1.16 GB, free: 13.8 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.999, allocations: 0.8571 MB / 1.161 GB, free: 12.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.999, allocations: 41.7 kB / 1.161 GB, free: 12.87 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.9994, allocations: 464.2 kB / 1.161 GB, free: 12.41 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.9996, allocations: 216.8 kB / 1.162 GB, free: 12.2 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.9996, allocations: 8 kB / 1.162 GB, free: 12.19 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9998, allocations: 337.9 kB / 1.162 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/1, allocations: 205.1 kB / 1.162 GB, free: 11.65 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/1.001, allocations: 320.4 kB / 1.162 GB, free: 11.3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/1.001, allocations: 242.1 kB / 1.163 GB, free: 11.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.001, allocations: 4 kB / 1.163 GB, free: 11.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001226/1.002, allocations: 0.7093 MB / 1.163 GB, free: 10.34 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.002, allocations: 159.2 kB / 1.163 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/1.002, allocations: 3.938 kB / 1.163 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/1.003, allocations: 116.7 kB / 1.164 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/1.003, allocations: 119.8 kB / 1.164 GB, free: 9.918 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005574/1.004, allocations: 0.6577 MB / 1.164 GB, free: 9.234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/1.005, allocations: 99.38 kB / 1.164 GB, free: 9.137 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/1.005, allocations: 32.02 kB / 1.164 GB, free: 9.105 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.133e-06/1.005, allocations: 4 kB / 1.164 GB, free: 9.102 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001006/1.006, allocations: 0.5683 MB / 1.165 GB, free: 8.527 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.006, allocations: 4 kB / 1.165 GB, free: 8.523 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004011/1.006, allocations: 113 kB / 1.165 GB, free: 8.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/1.007, allocations: 115.8 kB / 1.165 GB, free: 8.297 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005371/1.007, allocations: 0.6538 MB / 1.166 GB, free: 7.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/1.008, allocations: 91.39 kB / 1.166 GB, free: 7.527 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/1.008, allocations: 27.98 kB / 1.166 GB, free: 7.5 MB / 0.92 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.0004105/1.008, allocations: 326.4 kB / 1.166 GB, free: 7.172 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.008, allocations: 98.78 kB / 1.166 GB, free: 7.074 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/1.01, allocations: 0.9589 MB / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/1.01, allocations: 8 kB / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.01, allocations: 0 / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/1.011, allocations: 0.862 MB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/1.014, allocations: 1.853 MB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.014, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/1.015, allocations: 103.8 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006012/1.015, allocations: 161.6 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/1.015, allocations: 23.98 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009534/1.016, allocations: 1.249 MB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/1.016, allocations: 7.969 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/1.018, allocations: 1.284 MB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/1.019, allocations: 263.6 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/1.019, allocations: 16 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/1.019, allocations: 63.91 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/1.019, allocations: 48.53 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/1.02, allocations: 27.98 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007689/1.02, allocations: 0.5934 MB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/1.02, allocations: 4 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0014/1.022, allocations: 0.5456 MB / 1.174 GB, free: 14.75 MB / 0.9356 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.003691/1.025, allocations: 2.416 MB / 1.177 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001853/1.027, allocations: 0.9343 MB / 1.178 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/1.027, allocations: 0 / 1.178 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007345/1.028, allocations: 395.4 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/1.03, allocations: 424.6 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009158/1.039, allocations: 6.038 MB / 1.184 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/1.04, allocations: 1.069 MB / 1.185 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008591/1.041, allocations: 211 kB / 1.185 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/1.041, allocations: 407.3 kB / 1.186 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of SimCode: time 6.41e-07/1.041, allocations: 0 / 1.186 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05088/1.092, allocations: 28.75 MB / 1.214 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/1.092, allocations: 272.1 kB / 1.214 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/3.593, allocations: 0 / 1.214 GB, free: 6.07 MB / 0.9669 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