Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.602/2.602, allocations: 287.5 MB / 302.4 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.00136, allocations: 180.5 kB / 371 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009563/0.0009559, allocations: 82.42 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005025, allocations: 15.38 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2343, allocations: 115.3 MB / 0.9784 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.9638/1.198, allocations: 152.2 MB / 1.127 GB, free: 320 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01809/1.216, allocations: 8.166 MB / 1.135 GB, free: 14.37 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/1.219, allocations: 39 kB / 1.135 GB, free: 14.36 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002559/1.221, allocations: 0.5066 MB / 1.136 GB, free: 14.16 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005591/1.227, allocations: 1.218 MB / 1.137 GB, free: 13.61 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004538/1.231, allocations: 0.9251 MB / 1.138 GB, free: 13.39 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005765/1.237, allocations: 3.099 MB / 1.141 GB, free: 12.83 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/1.239, allocations: 0.7148 MB / 1.141 GB, free: 12.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/1.242, allocations: 0.8535 MB / 1.142 GB, free: 12.36 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/1.245, allocations: 0.915 MB / 1.143 GB, free: 11.95 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004402/1.246, allocations: 44.88 kB / 1.143 GB, free: 11.95 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00406/1.25, allocations: 0.8369 MB / 1.144 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000637/1.25, allocations: 212.2 kB / 1.144 GB, free: 11.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006788/1.251, allocations: 245.7 kB / 1.144 GB, free: 11.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003109/1.254, allocations: 1.218 MB / 1.146 GB, free: 10.83 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.254, allocations: 5.531 kB / 1.146 GB, free: 10.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.955e-06/1.254, allocations: 0 / 1.146 GB, free: 10.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.311e-05/1.254, allocations: 0 / 1.146 GB, free: 10.82 MB / 0.698 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.004303/1.259, allocations: 1.386 MB / 1.147 GB, free: 9.848 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.259, allocations: 10.03 kB / 1.147 GB, free: 9.848 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003184/1.259, allocations: 128 kB / 1.147 GB, free: 9.785 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000539/1.26, allocations: 140.2 kB / 1.147 GB, free: 9.715 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/1.262, allocations: 0.8135 MB / 1.148 GB, free: 9.227 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.058e-05/1.262, allocations: 59.36 kB / 1.148 GB, free: 9.223 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/1.262, allocations: 76.53 kB / 1.148 GB, free: 9.223 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/1.265, allocations: 0.8712 MB / 1.149 GB, free: 8.906 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/1.265, allocations: 1.031 kB / 1.149 GB, free: 8.906 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/1.265, allocations: 41.17 kB / 1.149 GB, free: 8.898 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/1.265, allocations: 19.03 kB / 1.149 GB, free: 8.898 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/1.267, allocations: 0.6349 MB / 1.15 GB, free: 8.793 MB / 0.698 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.008272/1.275, allocations: 3.965 MB / 1.154 GB, free: 6.008 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/1.277, allocations: 0.5735 MB / 1.154 GB, free: 5.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000893/1.278, allocations: 297 kB / 1.154 GB, free: 5.871 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/1.28, allocations: 1.246 MB / 1.156 GB, free: 4.426 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/1.281, allocations: 333.5 kB / 1.156 GB, free: 4.309 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 3.687e-06/1.281, allocations: 0 / 1.156 GB, free: 4.309 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.004367/1.285, allocations: 1.147 MB / 1.157 GB, free: 3.871 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/1.286, allocations: 84.33 kB / 1.157 GB, free: 3.777 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/1.287, allocations: 0.8654 MB / 1.158 GB, free: 3.492 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002046/1.288, allocations: 41.95 kB / 1.158 GB, free: 3.461 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005203/1.288, allocations: 464.4 kB / 1.158 GB, free: 3.254 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/1.289, allocations: 214.8 kB / 1.159 GB, free: 3.094 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/1.289, allocations: 12.31 kB / 1.159 GB, free: 3.094 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.289, allocations: 330.9 kB / 1.159 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000735/1.29, allocations: 203.7 kB / 1.159 GB, free: 2.754 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008321/1.29, allocations: 320 kB / 1.16 GB, free: 2.617 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007825/1.291, allocations: 244.2 kB / 1.16 GB, free: 2.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/1.291, allocations: 3.188 kB / 1.16 GB, free: 2.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002362/1.294, allocations: 0.7152 MB / 1.16 GB, free: 2.406 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/1.294, allocations: 158 kB / 1.161 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.294, allocations: 5.469 kB / 1.161 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008743/1.295, allocations: 116 kB / 1.161 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/1.296, allocations: 117.6 kB / 1.161 GB, free: 2.176 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/1.297, allocations: 0.6653 MB / 1.161 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/1.299, allocations: 96.14 kB / 1.162 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/1.299, allocations: 28.83 kB / 1.162 GB, free: 1.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.299, allocations: 2.906 kB / 1.162 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002042/1.301, allocations: 0.5686 MB / 1.162 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.301, allocations: 5.906 kB / 1.162 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008255/1.302, allocations: 103.6 kB / 1.162 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009968/1.303, allocations: 114.6 kB / 1.162 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/1.304, allocations: 0.6568 MB / 1.163 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/1.305, allocations: 87.94 kB / 1.163 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/1.306, allocations: 34.2 kB / 1.163 GB, free: 0.8398 MB / 0.698 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.001033/1.307, allocations: 324 kB / 1.163 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/1.307, allocations: 99.38 kB / 1.164 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/1.31, allocations: 0.9551 MB / 1.164 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/1.31, allocations: 8.188 kB / 1.164 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.31, allocations: 7.953 kB / 1.164 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002292/1.313, allocations: 0.8535 MB / 1.165 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/1.317, allocations: 1.864 MB / 1.167 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.317, allocations: 6.688 kB / 1.167 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/1.318, allocations: 102.8 kB / 1.167 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009552/1.319, allocations: 161.5 kB / 1.167 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/1.319, allocations: 21.42 kB / 1.167 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/1.321, allocations: 1.246 MB / 1.169 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.321, allocations: 0 / 1.169 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003471/1.324, allocations: 1.279 MB / 1.17 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007712/1.325, allocations: 277.2 kB / 1.17 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/1.325, allocations: 20.91 kB / 1.17 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009699/1.326, allocations: 56.83 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.326, allocations: 44.5 kB / 1.17 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.283e-05/1.326, allocations: 28.92 kB / 1.17 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00115/1.328, allocations: 0.5954 MB / 1.171 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.41e-07/1.328, allocations: 1.75 kB / 1.171 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00218/1.33, allocations: 0.5559 MB / 1.171 GB, free: 13.17 MB / 0.7136 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.005828/1.336, allocations: 2.423 MB / 1.174 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003008/1.339, allocations: 0.9231 MB / 1.175 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.339, allocations: 0 / 1.175 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/1.34, allocations: 389.6 kB / 1.175 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/1.344, allocations: 434.4 kB / 1.175 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/1.361, allocations: 6.025 MB / 1.181 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/1.363, allocations: 1.069 MB / 1.182 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002442/1.365, allocations: 218.7 kB / 1.183 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/1.367, allocations: 409.8 kB / 1.183 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of SimCode: time 2.826e-06/1.367, allocations: 0 / 1.183 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/1.487, allocations: 28.79 MB / 1.211 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004092/1.487, allocations: 276.4 kB / 1.211 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.893/5.38, allocations: 0 / 1.211 GB, free: 11.67 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)