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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.235/2.235, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001257/0.001257, allocations: 184.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.0009862, allocations: 91.89 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.066e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2708, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.374, allocations: 462.2 MB / 1.67 GB, free: 4.164 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/1.375, allocations: 91.94 kB / 1.67 GB, free: 4.074 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 1.35/2.725, allocations: 339 MB / 2.001 GB, free: 127.2 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.124e-06/2.725, allocations: 0 / 2.001 GB, free: 127.2 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001939/2.725, allocations: 31.98 kB / 2.001 GB, free: 127.1 MB / 1.135 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.003299/2.728, allocations: 1.319 MB / 2.003 GB, free: 125.8 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/2.728, allocations: 8.031 kB / 2.003 GB, free: 125.8 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003462/2.729, allocations: 134.8 kB / 2.003 GB, free: 125.6 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006018/2.729, allocations: 139.6 kB / 2.003 GB, free: 125.5 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/2.732, allocations: 0.9724 MB / 2.004 GB, free: 124.5 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.346e-05/2.732, allocations: 66 kB / 2.004 GB, free: 124.4 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/2.732, allocations: 76 kB / 2.004 GB, free: 124.3 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/2.733, allocations: 0.8304 MB / 2.005 GB, free: 123.4 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/2.734, allocations: 0 / 2.005 GB, free: 123.4 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.805e-05/2.734, allocations: 32 kB / 2.005 GB, free: 123.4 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/2.734, allocations: 20 kB / 2.005 GB, free: 123.4 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/2.735, allocations: 0.5778 MB / 2.006 GB, free: 122.8 MB / 1.135 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.005025/2.74, allocations: 3.797 MB / 2.009 GB, free: 118.8 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008731/2.741, allocations: 0.5175 MB / 2.01 GB, free: 118.3 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/2.741, allocations: 270.5 kB / 2.01 GB, free: 118 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007533/2.742, allocations: 1.243 MB / 2.011 GB, free: 116.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004646/2.742, allocations: 307.1 kB / 2.011 GB, free: 116.2 MB / 1.135 GB Notification: Performance of pre-optimization done (n=63): time 2.755e-06/2.742, allocations: 4 kB / 2.011 GB, free: 116.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=63): time 0.001231/2.744, allocations: 0.6284 MB / 2.012 GB, free: 115.5 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/2.744, allocations: 89.61 kB / 2.012 GB, free: 115.4 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009937/2.745, allocations: 0.7707 MB / 2.013 GB, free: 114.6 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/2.745, allocations: 37.7 kB / 2.013 GB, free: 114.6 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/2.745, allocations: 468.2 kB / 2.013 GB, free: 114.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/2.745, allocations: 216.8 kB / 2.014 GB, free: 113.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/2.745, allocations: 12 kB / 2.014 GB, free: 113.9 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.39e-05/2.745, allocations: 326 kB / 2.014 GB, free: 113.6 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/2.746, allocations: 189.5 kB / 2.014 GB, free: 113.4 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/2.746, allocations: 322 kB / 2.014 GB, free: 113 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/2.746, allocations: 231.3 kB / 2.015 GB, free: 112.8 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/2.746, allocations: 3.953 kB / 2.015 GB, free: 112.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001086/2.747, allocations: 0.6823 MB / 2.015 GB, free: 112.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/2.748, allocations: 0.8772 MB / 2.016 GB, free: 111.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/2.748, allocations: 0 / 2.016 GB, free: 111.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/2.748, allocations: 116.7 kB / 2.016 GB, free: 111 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/2.749, allocations: 115.9 kB / 2.016 GB, free: 110.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004483/2.749, allocations: 0.6616 MB / 2.017 GB, free: 110.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/2.75, allocations: 99.3 kB / 2.017 GB, free: 110.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/2.75, allocations: 27.98 kB / 2.017 GB, free: 110.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/2.75, allocations: 4 kB / 2.017 GB, free: 110.1 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008511/2.751, allocations: 0.5646 MB / 2.018 GB, free: 109.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/2.751, allocations: 3.953 kB / 2.018 GB, free: 109.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/2.751, allocations: 108.7 kB / 2.018 GB, free: 109.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/2.752, allocations: 111.8 kB / 2.018 GB, free: 109.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003893/2.752, allocations: 0.6618 MB / 2.019 GB, free: 108.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007492/2.753, allocations: 87.47 kB / 2.019 GB, free: 108.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/2.753, allocations: 31.97 kB / 2.019 GB, free: 108.5 MB / 1.135 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.0001873/2.753, allocations: 144.8 kB / 2.019 GB, free: 108.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/2.753, allocations: 102.8 kB / 2.019 GB, free: 108.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/2.755, allocations: 0.9214 MB / 2.02 GB, free: 107.3 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/2.755, allocations: 15.98 kB / 2.02 GB, free: 107.3 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/2.755, allocations: 0 / 2.02 GB, free: 107.3 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009061/2.756, allocations: 0.8298 MB / 2.021 GB, free: 106.4 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/2.759, allocations: 1.837 MB / 2.022 GB, free: 104.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/2.759, allocations: 0 / 2.022 GB, free: 104.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/2.759, allocations: 119.8 kB / 2.023 GB, free: 104.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005899/2.76, allocations: 157.6 kB / 2.023 GB, free: 104.2 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/2.76, allocations: 23.98 kB / 2.023 GB, free: 104.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006394/2.76, allocations: 1.245 MB / 2.024 GB, free: 102.9 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/2.76, allocations: 3.953 kB / 2.024 GB, free: 102.9 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/2.762, allocations: 1.256 MB / 2.025 GB, free: 101.6 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/2.762, allocations: 279.5 kB / 2.025 GB, free: 101.3 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/2.763, allocations: 15.98 kB / 2.025 GB, free: 101.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/2.763, allocations: 63.86 kB / 2.026 GB, free: 101.2 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.846e-05/2.763, allocations: 44.72 kB / 2.026 GB, free: 101.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/2.763, allocations: 27.98 kB / 2.026 GB, free: 101.2 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0006995/2.764, allocations: 0.6015 MB / 2.026 GB, free: 100.6 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.51e-07/2.764, allocations: 4 kB / 2.026 GB, free: 100.6 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001625/2.766, allocations: 0.6206 MB / 2.027 GB, free: 99.93 MB / 1.135 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.003392/2.769, allocations: 2.733 MB / 2.029 GB, free: 97.28 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001537/2.771, allocations: 0.9183 MB / 2.03 GB, free: 96.37 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/2.771, allocations: 4.25 kB / 2.03 GB, free: 96.36 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0005745/2.771, allocations: 372.3 kB / 2.031 GB, free: 96 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/2.773, allocations: 426 kB / 2.031 GB, free: 95.59 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/2.777, allocations: 1.906 MB / 2.033 GB, free: 93.63 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/2.777, allocations: 1.098 MB / 2.034 GB, free: 92.5 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001153/2.778, allocations: 294.9 kB / 2.034 GB, free: 92.21 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/2.779, allocations: 395.3 kB / 2.035 GB, free: 91.82 MB / 1.135 GB Notification: Performance of SimCode: time 4.11e-07/2.779, allocations: 0 / 2.035 GB, free: 91.82 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06107/2.84, allocations: 34.72 MB / 2.069 GB, free: 57.44 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/2.84, allocations: 235.2 kB / 2.069 GB, free: 57.13 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.291/6.131, allocations: 64 / 2.069 GB, free: 57.13 MB / 1.135 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) 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