Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_10_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.0009213/0.0009213, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005679/0.005679, allocations: 170.9 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.328/2.328, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002939, allocations: 8 kB / 0.8729 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5187/0.519, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1467/0.6658, allocations: 163 MB / 1.182 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.6767, allocations: 8.838 MB / 1.191 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008929/0.6776, allocations: 31.81 kB / 1.191 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.6789, allocations: 0.5519 MB / 1.192 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00269/0.6816, allocations: 1.392 MB / 1.193 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.6838, allocations: 1.074 MB / 1.194 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003184/0.687, allocations: 3.645 MB / 1.197 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009574/0.688, allocations: 0.8163 MB / 1.198 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.6891, allocations: 0.8673 MB / 1.199 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.6901, allocations: 0.9725 MB / 1.2 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.6902, allocations: 44 kB / 1.2 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.692, allocations: 1.01 MB / 1.201 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.6922, allocations: 218.9 kB / 1.201 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004666/0.6927, allocations: 0.5727 MB / 1.202 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.6942, allocations: 1.655 MB / 1.203 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6942, allocations: 7.984 kB / 1.204 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6942, allocations: 0 / 1.204 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.6942, allocations: 0 / 1.204 GB, free: 6.465 MB / 0.9512 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.002088/0.6963, allocations: 1.353 MB / 1.205 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.6964, allocations: 12.03 kB / 1.205 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.6965, allocations: 123 kB / 1.205 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.6968, allocations: 135.3 kB / 1.205 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.6979, allocations: 0.8635 MB / 1.206 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.698, allocations: 62 kB / 1.206 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.6981, allocations: 79.91 kB / 1.206 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.6994, allocations: 0.8732 MB / 1.207 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.6994, allocations: 0 / 1.207 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/0.6995, allocations: 32 kB / 1.207 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.6995, allocations: 20 kB / 1.207 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.7006, allocations: 0.644 MB / 1.208 GB, free: 2.125 MB / 0.9512 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.003892/0.7045, allocations: 3.958 MB / 1.211 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.7055, allocations: 0.5876 MB / 1.212 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000455/0.706, allocations: 298.4 kB / 1.212 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008574/0.7069, allocations: 1.247 MB / 1.214 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005371/0.7074, allocations: 335 kB / 1.214 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=63): time 1.833e-06/0.7074, allocations: 0 / 1.214 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=63): time 0.0022/0.7096, allocations: 1.15 MB / 1.215 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.7097, allocations: 85.67 kB / 1.215 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009089/0.7106, allocations: 0.865 MB / 1.216 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.7107, allocations: 37.7 kB / 1.216 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.711, allocations: 472.1 kB / 1.216 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.7112, allocations: 216.9 kB / 1.217 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/0.7112, allocations: 53.69 kB / 1.217 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.7113, allocations: 326 kB / 1.217 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.7117, allocations: 209.1 kB / 1.217 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.7122, allocations: 324.4 kB / 1.217 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008524/0.713, allocations: 0.5426 MB / 1.218 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7131, allocations: 3.938 kB / 1.218 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001147/0.7142, allocations: 0.7211 MB / 1.219 GB, free: 6 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.136e-05/0.7143, allocations: 155.2 kB / 1.219 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7143, allocations: 4 kB / 1.219 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/0.7148, allocations: 108.8 kB / 1.219 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.7152, allocations: 119.8 kB / 1.219 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005089/0.7157, allocations: 0.6615 MB / 1.22 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.7163, allocations: 99.39 kB / 1.22 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.7163, allocations: 28 kB / 1.22 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.7163, allocations: 5.875 kB / 1.22 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009428/0.7173, allocations: 0.5722 MB / 1.22 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7173, allocations: 4 kB / 1.22 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003787/0.7177, allocations: 113.1 kB / 1.221 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.7181, allocations: 115.8 kB / 1.221 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004549/0.7185, allocations: 0.6537 MB / 1.221 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.719, allocations: 87.45 kB / 1.221 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.7191, allocations: 27.98 kB / 1.221 GB, free: 3.168 MB / 0.9669 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 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003284/0.7194, allocations: 338.2 kB / 1.222 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.7195, allocations: 94.78 kB / 1.222 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.7212, allocations: 0.9498 MB / 1.223 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.7212, allocations: 8 kB / 1.223 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7212, allocations: 0 / 1.223 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/0.7224, allocations: 0.866 MB / 1.224 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.7248, allocations: 1.861 MB / 1.225 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.7248, allocations: 4 kB / 1.225 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.7252, allocations: 99.89 kB / 1.225 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005424/0.7258, allocations: 161.6 kB / 1.226 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.7258, allocations: 23.98 kB / 1.226 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007902/0.7266, allocations: 1.256 MB / 1.227 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7266, allocations: 0 / 1.227 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.7285, allocations: 1.292 MB / 1.228 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.7288, allocations: 271.5 kB / 1.228 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.85e-05/0.7289, allocations: 16 kB / 1.228 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.7294, allocations: 59.94 kB / 1.228 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/0.7295, allocations: 56.53 kB / 1.229 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.7296, allocations: 24.08 kB / 1.229 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006519/0.7302, allocations: 0.6129 MB / 1.229 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7302, allocations: 0 / 1.229 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001097/0.7313, allocations: 0.5534 MB / 1.23 GB, free: 10.38 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003364/0.7347, allocations: 2.435 MB / 1.232 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.7363, allocations: 0.9382 MB / 1.233 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7363, allocations: 3.938 kB / 1.233 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000666/0.737, allocations: 387.6 kB / 1.233 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.739, allocations: 438.5 kB / 1.234 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009786/0.7488, allocations: 8.101 MB / 1.242 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.7493, allocations: 1.069 MB / 1.243 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006876/0.75, allocations: 215 kB / 1.243 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/0.7505, allocations: 415.3 kB / 1.243 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.583e-06/0.7505, allocations: 0 / 1.243 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.81/3.561, allocations: 28.36 MB / 1.271 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/3.561, allocations: 287 kB / 1.271 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/5.933, allocations: 0 / 1.271 GB, free: 225.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)