Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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.001463/0.001463, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002121/0.002121, allocations: 193.3 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.068/2.068, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.03/4.03, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 63.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.073, allocations: 140.4 MB / 0.9492 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.3846/1.457, allocations: 186 MB / 1.131 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01906/1.476, allocations: 6.044 MB / 1.137 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/1.479, allocations: 35.75 kB / 1.137 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002943/1.482, allocations: 457.7 kB / 1.137 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01071/1.493, allocations: 1.786 MB / 1.139 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004739/1.498, allocations: 0.873 MB / 1.14 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007836/1.506, allocations: 2.487 MB / 1.142 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/1.508, allocations: 0.7525 MB / 1.143 GB, free: 11 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00353/1.512, allocations: 0.8834 MB / 1.144 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003988/1.516, allocations: 0.8187 MB / 1.145 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006578/1.517, allocations: 88 kB / 1.145 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007791/1.524, allocations: 1.668 MB / 1.146 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001491/1.526, allocations: 371 kB / 1.147 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002252/1.528, allocations: 0.5483 MB / 1.147 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008223/1.536, allocations: 2.014 MB / 1.149 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/1.537, allocations: 7.938 kB / 1.149 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.895e-06/1.537, allocations: 0 / 1.149 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.48e-05/1.537, allocations: 0 / 1.149 GB, free: 4.594 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006073/1.543, allocations: 1.363 MB / 1.151 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.379e-05/1.543, allocations: 8.031 kB / 1.151 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004043/1.543, allocations: 118.5 kB / 1.151 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00455/1.548, allocations: 322.3 kB / 1.151 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/1.551, allocations: 0.7455 MB / 1.152 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/1.551, allocations: 49.31 kB / 1.152 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/1.551, allocations: 71.91 kB / 1.152 GB, free: 1.82 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/1.554, allocations: 0.7861 MB / 1.153 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-05/1.554, allocations: 4 kB / 1.153 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/1.554, allocations: 28 kB / 1.153 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.713e-05/1.554, allocations: 29.3 kB / 1.153 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/1.557, allocations: 0.6336 MB / 1.153 GB, free: 320 kB / 0.9044 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.008676/1.565, allocations: 3.363 MB / 1.157 GB, free: 12.66 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/1.567, allocations: 0.4966 MB / 1.157 GB, free: 12.15 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000861/1.568, allocations: 286 kB / 1.157 GB, free: 11.87 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.569, allocations: 0.6692 MB / 1.158 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.604e-05/1.569, allocations: 46.94 kB / 1.158 GB, free: 11 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 6.382e-06/1.569, allocations: 7.938 kB / 1.158 GB, free: 10.99 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.003382/1.573, allocations: 0.7715 MB / 1.159 GB, free: 10.21 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.793e-05/1.573, allocations: 59.78 kB / 1.159 GB, free: 10.14 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/1.575, allocations: 0.5981 MB / 1.159 GB, free: 9.535 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/1.575, allocations: 37.7 kB / 1.159 GB, free: 9.492 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006231/1.576, allocations: 384.2 kB / 1.16 GB, free: 9.113 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000469/1.576, allocations: 185.3 kB / 1.16 GB, free: 8.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003974/1.577, allocations: 90.25 kB / 1.16 GB, free: 8.836 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0005067/1.577, allocations: 382.8 kB / 1.16 GB, free: 8.453 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007027/1.578, allocations: 209 kB / 1.161 GB, free: 8.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/1.579, allocations: 275.2 kB / 1.161 GB, free: 7.961 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/1.58, allocations: 0.5153 MB / 1.161 GB, free: 7.426 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.58, allocations: 0 / 1.161 GB, free: 7.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001979/1.582, allocations: 0.623 MB / 1.162 GB, free: 6.797 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/1.582, allocations: 12.16 kB / 1.162 GB, free: 6.785 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.582, allocations: 0 / 1.162 GB, free: 6.785 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.187e-05/1.582, allocations: 4 kB / 1.162 GB, free: 6.781 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009489/1.583, allocations: 131.8 kB / 1.162 GB, free: 6.652 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/1.583, allocations: 7.938 kB / 1.162 GB, free: 6.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/1.585, allocations: 83.48 kB / 1.162 GB, free: 6.562 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.583e-05/1.585, allocations: 19.98 kB / 1.162 GB, free: 6.543 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007191/1.585, allocations: 257.7 kB / 1.162 GB, free: 6.281 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003926/1.586, allocations: 71.16 kB / 1.163 GB, free: 6.211 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/1.588, allocations: 0.597 MB / 1.163 GB, free: 5.602 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/1.588, allocations: 7.938 kB / 1.163 GB, free: 5.594 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/1.588, allocations: 0 / 1.163 GB, free: 5.594 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/1.59, allocations: 0.8107 MB / 1.164 GB, free: 4.699 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004438/1.594, allocations: 1.546 MB / 1.165 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/1.594, allocations: 0 / 1.165 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/1.595, allocations: 159.9 kB / 1.166 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.115e-05/1.595, allocations: 0 / 1.166 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.174e-05/1.595, allocations: 19.94 kB / 1.166 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/1.595, allocations: 7.922 kB / 1.166 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.595, allocations: 4 kB / 1.166 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/1.598, allocations: 0.951 MB / 1.167 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006476/1.599, allocations: 216 kB / 1.167 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/1.599, allocations: 12 kB / 1.167 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.6, allocations: 55.86 kB / 1.167 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/1.6, allocations: 36.33 kB / 1.167 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-05/1.6, allocations: 20 kB / 1.167 GB, free: 1.566 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009475/1.601, allocations: 423 kB / 1.167 GB, free: 1.16 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.2e-07/1.601, allocations: 0 / 1.167 GB, free: 1.16 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001459/1.603, allocations: 287.3 kB / 1.168 GB, free: 0.8789 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003522/1.606, allocations: 1.589 MB / 1.169 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001976/1.608, allocations: 0.5834 MB / 1.17 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.608, allocations: 4 kB / 1.17 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007049/1.609, allocations: 262.4 kB / 1.17 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003636/1.613, allocations: 0.4982 MB / 1.17 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01646/1.629, allocations: 6.441 MB / 1.177 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/1.63, allocations: 1.024 MB / 1.178 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001372/1.632, allocations: 182.1 kB / 1.178 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007161/1.633, allocations: 307.3 kB / 1.178 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of SimCode: time 1.783e-06/1.633, allocations: 4 kB / 1.178 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06966/1.702, allocations: 21.57 MB / 1.199 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003337/1.703, allocations: 257.6 kB / 1.199 GB, free: 400 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.231/5.933, allocations: 4.062 kB / 1.199 GB, free: 396 kB / 0.9512 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)