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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009513/0.0009513, 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.00757/0.00757, allocations: 171.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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003989, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8817/0.8821, allocations: 142.4 MB / 0.9552 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.2381/1.12, allocations: 183.7 MB / 1.135 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01153/1.132, allocations: 6.104 MB / 1.141 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/1.134, allocations: 27.81 kB / 1.141 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/1.135, allocations: 449.7 kB / 1.141 GB, free: 416 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005804/1.141, allocations: 1.778 MB / 1.143 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002631/1.144, allocations: 0.8584 MB / 1.144 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004831/1.149, allocations: 3.416 MB / 1.147 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/1.15, allocations: 0.6288 MB / 1.147 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/1.151, allocations: 0.7195 MB / 1.148 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/1.154, allocations: 0.7626 MB / 1.149 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/1.154, allocations: 32 kB / 1.149 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/1.158, allocations: 1.843 MB / 1.151 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004282/1.158, allocations: 307 kB / 1.151 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007226/1.159, allocations: 0.5031 MB / 1.152 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003383/1.162, allocations: 1.951 MB / 1.153 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.162, allocations: 0 / 1.153 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.965e-06/1.162, allocations: 0 / 1.153 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.656e-05/1.162, allocations: 0 / 1.153 GB, free: 3.566 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.00228/1.165, allocations: 1.199 MB / 1.155 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/1.165, allocations: 8.031 kB / 1.155 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/1.165, allocations: 114.5 kB / 1.155 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/1.167, allocations: 318.5 kB / 1.155 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/1.168, allocations: 0.7454 MB / 1.156 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/1.168, allocations: 49.31 kB / 1.156 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/1.168, allocations: 72 kB / 1.156 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/1.17, allocations: 0.7939 MB / 1.157 GB, free: 156 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/1.17, allocations: 0 / 1.157 GB, free: 156 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/1.17, allocations: 32 kB / 1.157 GB, free: 124 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-05/1.17, allocations: 29.3 kB / 1.157 GB, free: 92 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/1.171, allocations: 0.6454 MB / 1.157 GB, free: 15.44 MB / 0.92 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.004185/1.175, allocations: 3.386 MB / 1.161 GB, free: 11.76 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009311/1.176, allocations: 0.5005 MB / 1.161 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/1.177, allocations: 294 kB / 1.161 GB, free: 10.96 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007086/1.177, allocations: 0.6731 MB / 1.162 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/1.178, allocations: 46.92 kB / 1.162 GB, free: 10.09 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 1.913e-06/1.178, allocations: 4 kB / 1.162 GB, free: 10.08 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.001747/1.179, allocations: 0.7872 MB / 1.163 GB, free: 9.293 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/1.179, allocations: 59.78 kB / 1.163 GB, free: 9.223 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007312/1.18, allocations: 0.5941 MB / 1.164 GB, free: 8.617 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/1.18, allocations: 33.7 kB / 1.164 GB, free: 8.578 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/1.18, allocations: 400.2 kB / 1.164 GB, free: 8.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/1.181, allocations: 181.2 kB / 1.164 GB, free: 8 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/1.181, allocations: 49.69 kB / 1.164 GB, free: 7.945 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.181, allocations: 382.7 kB / 1.165 GB, free: 7.562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/1.181, allocations: 213 kB / 1.165 GB, free: 7.355 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/1.182, allocations: 295.1 kB / 1.165 GB, free: 7.047 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008809/1.183, allocations: 0.5231 MB / 1.166 GB, free: 6.504 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.183, allocations: 0 / 1.166 GB, free: 6.504 MB / 0.92 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001127/1.184, allocations: 0.6349 MB / 1.166 GB, free: 5.863 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.184, allocations: 4 kB / 1.166 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.184, allocations: 0 / 1.166 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.184, allocations: 4 kB / 1.166 GB, free: 5.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006124/1.185, allocations: 147.8 kB / 1.166 GB, free: 5.711 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/1.185, allocations: 11.98 kB / 1.166 GB, free: 5.699 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008694/1.185, allocations: 87.48 kB / 1.166 GB, free: 5.613 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/1.186, allocations: 16 kB / 1.166 GB, free: 5.598 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.0003952/1.186, allocations: 259.6 kB / 1.167 GB, free: 5.336 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/1.186, allocations: 75.06 kB / 1.167 GB, free: 5.262 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/1.187, allocations: 0.6127 MB / 1.167 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.187, allocations: 11.92 kB / 1.167 GB, free: 4.629 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.187, allocations: 4 kB / 1.167 GB, free: 4.625 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/1.188, allocations: 0.8223 MB / 1.168 GB, free: 3.719 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/1.191, allocations: 1.562 MB / 1.17 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.191, allocations: 4 kB / 1.17 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/1.192, allocations: 167.9 kB / 1.17 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/1.192, allocations: 4 kB / 1.17 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/1.192, allocations: 12 kB / 1.17 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.192, allocations: 4 kB / 1.17 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.192, allocations: 4 kB / 1.17 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/1.193, allocations: 0.9744 MB / 1.171 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/1.194, allocations: 224 kB / 1.171 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/1.194, allocations: 12 kB / 1.171 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007341/1.195, allocations: 51.95 kB / 1.171 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/1.195, allocations: 40.33 kB / 1.171 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/1.195, allocations: 19.98 kB / 1.171 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000587/1.195, allocations: 427 kB / 1.172 GB, free: 128 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/1.195, allocations: 0 / 1.172 GB, free: 128 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009378/1.196, allocations: 279.4 kB / 1.172 GB, free: 15.85 MB / 0.9356 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.002405/1.199, allocations: 1.618 MB / 1.173 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001093/1.2, allocations: 0.5212 MB / 1.174 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.2, allocations: 0 / 1.174 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004587/1.2, allocations: 278.3 kB / 1.174 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/1.203, allocations: 470.5 kB / 1.175 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/1.214, allocations: 6.633 MB / 1.181 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008473/1.215, allocations: 1.024 MB / 1.182 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009949/1.216, allocations: 186.4 kB / 1.182 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/1.216, allocations: 307.3 kB / 1.183 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of SimCode: time 1.533e-06/1.216, allocations: 3.938 kB / 1.183 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04683/1.263, allocations: 20.75 MB / 1.203 GB, free: 284 kB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/1.263, allocations: 255.8 kB / 1.203 GB, free: 28 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.776, allocations: 8 kB / 1.203 GB, free: 20 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)