Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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.001943/0.001942, allocations: 99.62 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.002889/0.002889, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.507/2.507, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 8.25/8.25, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008298/0.0008302, allocations: 13.03 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.458, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.63/2.088, allocations: 193.5 MB / 0.9762 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03187/2.12, allocations: 10.16 MB / 0.9861 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006502/2.126, allocations: 51.31 kB / 0.9862 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007767/2.134, allocations: 1.06 MB / 0.9872 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02123/2.155, allocations: 2.89 MB / 0.99 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01156/2.167, allocations: 1.595 MB / 0.9916 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01522/2.182, allocations: 2.513 MB / 0.994 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004812/2.187, allocations: 1.195 MB / 0.9952 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007792/2.195, allocations: 1.244 MB / 0.9964 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0057/2.201, allocations: 0.9316 MB / 0.9973 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001115/2.202, allocations: 76.22 kB / 0.9974 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008999/2.211, allocations: 1.358 MB / 0.9987 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002054/2.213, allocations: 0.5336 MB / 0.9992 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002269/2.215, allocations: 402.7 kB / 0.9996 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008378/2.224, allocations: 2.374 MB / 1.002 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/2.224, allocations: 0 / 1.002 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.096e-06/2.224, allocations: 0 / 1.002 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001329/2.224, allocations: 0 / 1.002 GB, free: 15.19 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.01206/2.236, allocations: 2.093 MB / 1.004 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.314e-05/2.236, allocations: 7.656 kB / 1.004 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001429/2.238, allocations: 204.3 kB / 1.004 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008242/2.246, allocations: 0.5319 MB / 1.005 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006978/2.253, allocations: 1.17 MB / 1.006 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/2.253, allocations: 100.4 kB / 1.006 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009626/2.254, allocations: 141.4 kB / 1.006 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007155/2.262, allocations: 1.649 MB / 1.008 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.564e-05/2.262, allocations: 4.719 kB / 1.008 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003111/2.262, allocations: 53.31 kB / 1.008 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002135/2.262, allocations: 68.61 kB / 1.008 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006617/2.269, allocations: 1.444 MB / 1.009 GB, free: 12.16 MB / 0.7325 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.02259/2.292, allocations: 6.956 MB / 1.016 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/2.295, allocations: 1.192 MB / 1.017 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/2.296, allocations: 0.6905 MB / 1.018 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001663/2.298, allocations: 0.6037 MB / 1.018 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 6.212e-06/2.298, allocations: 0 / 1.018 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110): time 0.005442/2.303, allocations: 1.579 MB / 1.02 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/2.303, allocations: 88.77 kB / 1.02 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/2.306, allocations: 1.186 MB / 1.021 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000358/2.307, allocations: 47.05 kB / 1.021 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/2.308, allocations: 0.6728 MB / 1.022 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001054/2.309, allocations: 388 kB / 1.022 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/2.309, allocations: 24.81 kB / 1.022 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001734/2.309, allocations: 346.3 kB / 1.023 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/2.31, allocations: 419.9 kB / 1.023 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/2.312, allocations: 0.5625 MB / 1.024 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/2.313, allocations: 497.5 kB / 1.024 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/2.313, allocations: 4 kB / 1.024 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003718/2.317, allocations: 1.208 MB / 1.025 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007067/2.318, allocations: 0.9878 MB / 1.026 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/2.318, allocations: 7.047 kB / 1.026 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/2.318, allocations: 8.062 kB / 1.026 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/2.32, allocations: 214.7 kB / 1.026 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/2.32, allocations: 8.438 kB / 1.026 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/2.323, allocations: 173.6 kB / 1.027 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/2.323, allocations: 39.61 kB / 1.027 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/2.323, allocations: 6.188 kB / 1.027 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002915/2.326, allocations: 1.03 MB / 1.028 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/2.326, allocations: 6.797 kB / 1.028 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/2.326, allocations: 7.781 kB / 1.028 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/2.327, allocations: 210.1 kB / 1.028 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/2.327, allocations: 16.12 kB / 1.028 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/2.33, allocations: 163.4 kB / 1.028 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/2.33, allocations: 39.52 kB / 1.028 GB, free: 15.17 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (126): * Single equations (assignments): 126 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001361/2.331, allocations: 492.1 kB / 1.029 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/2.332, allocations: 148.4 kB / 1.029 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/2.334, allocations: 1.236 MB / 1.03 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/2.334, allocations: 16 kB / 1.03 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/2.334, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002478/2.337, allocations: 1.009 MB / 1.031 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008642/2.346, allocations: 3.165 MB / 1.034 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/2.346, allocations: 0 / 1.034 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/2.347, allocations: 248.9 kB / 1.034 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-05/2.347, allocations: 4 kB / 1.034 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/2.348, allocations: 24 kB / 1.034 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.789e-05/2.348, allocations: 11.98 kB / 1.034 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/2.348, allocations: 2.438 kB / 1.034 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005209/2.353, allocations: 2.137 MB / 1.036 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/2.355, allocations: 359 kB / 1.037 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005368/2.355, allocations: 25.81 kB / 1.037 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/2.357, allocations: 123.7 kB / 1.037 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/2.357, allocations: 75.39 kB / 1.037 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.763e-05/2.357, allocations: 39.98 kB / 1.037 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001435/2.359, allocations: 0.8098 MB / 1.038 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.01e-07/2.359, allocations: 0 / 1.038 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003436/2.362, allocations: 0.8415 MB / 1.039 GB, free: 4.75 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007273/2.369, allocations: 3.819 MB / 1.042 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005545/2.375, allocations: 1.608 MB / 1.044 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/2.375, allocations: 0 / 1.044 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/2.377, allocations: 0.5737 MB / 1.044 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008113/2.385, allocations: 0.8208 MB / 1.045 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03049/2.415, allocations: 11.05 MB / 1.056 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/2.417, allocations: 1.399 MB / 1.057 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002298/2.419, allocations: 443.6 kB / 1.058 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009469/2.42, allocations: 0.6203 MB / 1.058 GB, free: 200 kB / 0.7637 GB Notification: Performance of SimCode: time 1.172e-06/2.42, allocations: 0 / 1.058 GB, free: 200 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1386/2.559, allocations: 41.56 MB / 1.099 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004732/2.559, allocations: 235.5 kB / 1.099 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.3/7.859, allocations: 0 / 1.099 GB, free: 6.961 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: