Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_latest_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.000905/0.0009049, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005208/0.005208, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.375/2.375, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002842, allocations: 12.91 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2417, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.1661/0.4077, allocations: 183.7 MB / 1.238 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007747/0.4155, allocations: 6.088 MB / 1.244 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005504/0.4161, allocations: 31.81 kB / 1.244 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000978/0.4171, allocations: 445.7 kB / 1.245 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003242/0.4203, allocations: 1.778 MB / 1.246 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.422, allocations: 0.8707 MB / 1.247 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.4995/0.9216, allocations: 3.398 MB / 1.25 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.9227, allocations: 0.6328 MB / 1.251 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.924, allocations: 0.7185 MB / 1.252 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.9255, allocations: 0.7764 MB / 1.253 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-05/0.9256, allocations: 35.06 kB / 1.253 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.9284, allocations: 1.833 MB / 1.254 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.9286, allocations: 308.1 kB / 1.255 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.9292, allocations: 0.5054 MB / 1.255 GB, free: 20.1 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.9311, allocations: 1.953 MB / 1.257 GB, free: 20.05 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.9311, allocations: 0 / 1.257 GB, free: 20.05 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9312, allocations: 4 kB / 1.257 GB, free: 20.05 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.9312, allocations: 0 / 1.257 GB, free: 20.05 MB / 1.014 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.001666/0.9328, allocations: 1.196 MB / 1.258 GB, free: 19.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.9329, allocations: 14.86 kB / 1.258 GB, free: 19.35 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.933, allocations: 112.9 kB / 1.258 GB, free: 19.31 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.9348, allocations: 319.6 kB / 1.259 GB, free: 19.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009106/0.9358, allocations: 0.7396 MB / 1.259 GB, free: 18.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.9358, allocations: 50.09 kB / 1.259 GB, free: 18.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.9359, allocations: 70.48 kB / 1.26 GB, free: 18.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.9371, allocations: 0.7991 MB / 1.26 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.9371, allocations: 3.469 kB / 1.26 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.9371, allocations: 25.31 kB / 1.26 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.9372, allocations: 32.06 kB / 1.26 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009817/0.9382, allocations: 0.6511 MB / 1.261 GB, free: 18.84 MB / 1.014 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.003302/0.9415, allocations: 3.378 MB / 1.264 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.9422, allocations: 0.5016 MB / 1.265 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.9426, allocations: 292.4 kB / 1.265 GB, free: 16.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005493/0.9432, allocations: 0.6744 MB / 1.266 GB, free: 16.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.9432, allocations: 42.5 kB / 1.266 GB, free: 16.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=51): time 1.443e-06/0.9432, allocations: 2.625 kB / 1.266 GB, free: 16.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=51): time 0.001448/0.9447, allocations: 0.7974 MB / 1.267 GB, free: 16.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.9447, allocations: 57.91 kB / 1.267 GB, free: 15.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006908/0.9454, allocations: 0.5969 MB / 1.267 GB, free: 15.83 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.9455, allocations: 36.23 kB / 1.267 GB, free: 15.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.9457, allocations: 390.3 kB / 1.268 GB, free: 15.62 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.9459, allocations: 184.7 kB / 1.268 GB, free: 15.51 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.9459, allocations: 48.02 kB / 1.268 GB, free: 15.49 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.9461, allocations: 379.5 kB / 1.268 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.9465, allocations: 221.5 kB / 1.268 GB, free: 15.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.9469, allocations: 289 kB / 1.269 GB, free: 15.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008594/0.9478, allocations: 0.519 MB / 1.269 GB, free: 15.06 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9478, allocations: 0 / 1.269 GB, free: 15.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001062/0.9489, allocations: 0.6336 MB / 1.27 GB, free: 14.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.9489, allocations: 5.406 kB / 1.27 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.9489, allocations: 1.25 kB / 1.27 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.9489, allocations: 8.703 kB / 1.27 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/0.9495, allocations: 149.2 kB / 1.27 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.9495, allocations: 4.109 kB / 1.27 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000713/0.9502, allocations: 85.84 kB / 1.27 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.9503, allocations: 20.5 kB / 1.27 GB, free: 14.95 MB / 1.014 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.0002998/0.9506, allocations: 261.3 kB / 1.27 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.9507, allocations: 77.06 kB / 1.27 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.9517, allocations: 0.6196 MB / 1.271 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.9518, allocations: 4.656 kB / 1.271 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9518, allocations: 1.547 kB / 1.271 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009554/0.9527, allocations: 0.8252 MB / 1.272 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.9553, allocations: 1.564 MB / 1.273 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.9553, allocations: 5.406 kB / 1.273 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/0.9561, allocations: 172.5 kB / 1.273 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.9562, allocations: 5.5 kB / 1.273 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.9562, allocations: 13.3 kB / 1.273 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.9562, allocations: 3.516 kB / 1.273 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.9562, allocations: 3 kB / 1.273 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.9578, allocations: 0.9746 MB / 1.274 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.9581, allocations: 206.1 kB / 1.275 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.531e-05/0.9582, allocations: 15.48 kB / 1.275 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/0.9588, allocations: 61.78 kB / 1.275 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.9589, allocations: 31.33 kB / 1.275 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.9589, allocations: 23.44 kB / 1.275 GB, free: 13.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004557/0.9594, allocations: 424.4 kB / 1.275 GB, free: 13.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9594, allocations: 0 / 1.275 GB, free: 13.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006851/0.9601, allocations: 283.1 kB / 1.275 GB, free: 13.42 MB / 1.014 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.001866/0.9619, allocations: 1.607 MB / 1.277 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008962/0.9628, allocations: 0.5188 MB / 1.278 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9628, allocations: 0.9688 kB / 1.278 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.9633, allocations: 279.1 kB / 1.278 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.9654, allocations: 469.8 kB / 1.278 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008105/0.9735, allocations: 6.639 MB / 1.285 GB, free: 9.852 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.9741, allocations: 1.023 MB / 1.286 GB, free: 9.145 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000693/0.9748, allocations: 186.4 kB / 1.286 GB, free: 9.098 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/0.9752, allocations: 311 kB / 1.286 GB, free: 9.086 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.9752, allocations: 0 / 1.286 GB, free: 9.086 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/1.007, allocations: 20.74 MB / 1.306 GB, free: 7.836 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/1.008, allocations: 262.3 kB / 1.307 GB, free: 7.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/3.145, allocations: 7.938 kB / 1.307 GB, free: 7.473 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)