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 1.43/1.43, allocations: 287.4 MB / 302.5 MB, free: 8.172 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.0009116/0.0009117, allocations: 180.5 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.133/1.133, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007154/0.0007154, allocations: 101.8 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 11.42 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1487, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.4299/0.5786, allocations: 152.2 MB / 1.127 GB, free: 392 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009405/0.588, allocations: 8.173 MB / 1.135 GB, free: 14.37 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.5893, allocations: 37.09 kB / 1.135 GB, free: 14.36 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.5906, allocations: 0.5005 MB / 1.136 GB, free: 14.16 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.5935, allocations: 1.212 MB / 1.137 GB, free: 13.62 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.5959, allocations: 0.9309 MB / 1.138 GB, free: 13.4 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002863/0.5987, allocations: 3.12 MB / 1.141 GB, free: 12.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.5998, allocations: 0.8123 MB / 1.142 GB, free: 12.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.6011, allocations: 0.8555 MB / 1.143 GB, free: 12.33 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.6023, allocations: 0.9153 MB / 1.144 GB, free: 11.92 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.6024, allocations: 43.28 kB / 1.144 GB, free: 11.92 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.6043, allocations: 0.8308 MB / 1.144 GB, free: 11.65 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.6045, allocations: 214.5 kB / 1.145 GB, free: 11.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.6048, allocations: 240.8 kB / 1.145 GB, free: 11.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.6061, allocations: 1.226 MB / 1.146 GB, free: 10.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6061, allocations: 3.938 kB / 1.146 GB, free: 10.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6061, allocations: 1.062 kB / 1.146 GB, free: 10.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.6061, allocations: 0 / 1.146 GB, free: 10.8 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.002226/0.6084, allocations: 1.367 MB / 1.147 GB, free: 9.824 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.6084, allocations: 9.625 kB / 1.147 GB, free: 9.824 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.6086, allocations: 129.8 kB / 1.147 GB, free: 9.762 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.6088, allocations: 140.7 kB / 1.148 GB, free: 9.691 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.61, allocations: 0.8535 MB / 1.148 GB, free: 9.164 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.6101, allocations: 63.28 kB / 1.149 GB, free: 9.156 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.6102, allocations: 79.59 kB / 1.149 GB, free: 9.156 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.6114, allocations: 0.8633 MB / 1.149 GB, free: 8.844 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.6115, allocations: 6.203 kB / 1.149 GB, free: 8.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.6115, allocations: 36.72 kB / 1.149 GB, free: 8.836 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.6116, allocations: 20.09 kB / 1.15 GB, free: 8.836 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.6126, allocations: 0.6331 MB / 1.15 GB, free: 8.734 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.00399/0.6166, allocations: 3.964 MB / 1.154 GB, free: 5.945 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.6177, allocations: 0.5878 MB / 1.155 GB, free: 5.832 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.6181, allocations: 297.3 kB / 1.155 GB, free: 5.789 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008371/0.619, allocations: 1.243 MB / 1.156 GB, free: 4.352 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005571/0.6195, allocations: 336.1 kB / 1.156 GB, free: 4.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 2.665e-06/0.6195, allocations: 0 / 1.156 GB, free: 4.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002213/0.6218, allocations: 1.156 MB / 1.158 GB, free: 3.785 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.6218, allocations: 84.55 kB / 1.158 GB, free: 3.691 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009441/0.6228, allocations: 0.86 MB / 1.158 GB, free: 3.414 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.6228, allocations: 36.3 kB / 1.158 GB, free: 3.383 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.6231, allocations: 470.3 kB / 1.159 GB, free: 3.172 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.6233, allocations: 217.8 kB / 1.159 GB, free: 3.012 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.6233, allocations: 11.81 kB / 1.159 GB, free: 3.012 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.6234, allocations: 331 kB / 1.159 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.6238, allocations: 210 kB / 1.16 GB, free: 2.664 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.6242, allocations: 322 kB / 1.16 GB, free: 2.527 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/0.625, allocations: 0.5258 MB / 1.16 GB, free: 2.395 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.625, allocations: 5.312 kB / 1.16 GB, free: 2.391 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001157/0.6262, allocations: 0.7116 MB / 1.161 GB, free: 2.215 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-05/0.6263, allocations: 158.2 kB / 1.161 GB, free: 2.039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6263, allocations: 3 kB / 1.161 GB, free: 2.039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004803/0.6268, allocations: 110.2 kB / 1.161 GB, free: 2.004 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.6272, allocations: 124.8 kB / 1.162 GB, free: 1.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004912/0.6277, allocations: 0.6611 MB / 1.162 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006254/0.6284, allocations: 92.53 kB / 1.162 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.6284, allocations: 29.27 kB / 1.162 GB, free: 1.383 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.473e-06/0.6285, allocations: 3.281 kB / 1.162 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008939/0.6294, allocations: 0.571 MB / 1.163 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.6294, allocations: 7.031 kB / 1.163 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/0.6297, allocations: 103.2 kB / 1.163 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.6301, allocations: 112.5 kB / 1.163 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004488/0.6306, allocations: 0.6617 MB / 1.164 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/0.6311, allocations: 94.09 kB / 1.164 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.6312, allocations: 28.98 kB / 1.164 GB, free: 0.6406 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.0003781/0.6316, allocations: 331.8 kB / 1.164 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.6317, allocations: 103.1 kB / 1.164 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.6333, allocations: 0.9425 MB / 1.165 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.6333, allocations: 17.17 kB / 1.165 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6333, allocations: 1.859 kB / 1.165 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/0.6345, allocations: 0.856 MB / 1.166 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.6369, allocations: 1.857 MB / 1.168 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6369, allocations: 0 / 1.168 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.6373, allocations: 98.3 kB / 1.168 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/0.6378, allocations: 166.2 kB / 1.168 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.6379, allocations: 21.8 kB / 1.168 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007299/0.6386, allocations: 1.247 MB / 1.169 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6386, allocations: 0 / 1.169 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.6404, allocations: 1.29 MB / 1.171 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.6407, allocations: 263.8 kB / 1.171 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.6408, allocations: 19.84 kB / 1.171 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/0.6413, allocations: 67.48 kB / 1.171 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.6414, allocations: 47.64 kB / 1.171 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.6415, allocations: 25.77 kB / 1.171 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006156/0.6421, allocations: 0.5976 MB / 1.172 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6421, allocations: 0 / 1.172 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001171/0.6433, allocations: 0.5531 MB / 1.172 GB, free: 12.81 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.003138/0.6464, allocations: 2.426 MB / 1.175 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.6481, allocations: 0.9195 MB / 1.175 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6481, allocations: 0 / 1.175 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.6488, allocations: 395.6 kB / 1.176 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.6507, allocations: 417.9 kB / 1.176 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/0.6584, allocations: 6.03 MB / 1.182 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.659, allocations: 1.071 MB / 1.183 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007925/0.6598, allocations: 221.1 kB / 1.183 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/0.6603, allocations: 403.9 kB / 1.184 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/0.6603, allocations: 0 / 1.184 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05511/0.7154, allocations: 28.8 MB / 1.212 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.7156, allocations: 254 kB / 1.212 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/3.404, allocations: 0 / 1.212 GB, free: 11.07 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)