Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_10_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.005122/0.005122, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001437/0.001437, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.38/2.38, allocations: 437.1 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 59.91 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6989/0.7008, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.202/0.9028, allocations: 188.4 MB / 1.35 GB, free: 6.605 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009921/0.9128, allocations: 6.087 MB / 1.356 GB, free: 0.5 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.9139, allocations: 35.81 kB / 1.356 GB, free: 476 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.9153, allocations: 0.5049 MB / 1.357 GB, free: 15.95 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004577/0.9199, allocations: 1.895 MB / 1.358 GB, free: 14.05 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.9223, allocations: 0.9523 MB / 1.359 GB, free: 13.1 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003169/0.9255, allocations: 2.483 MB / 1.362 GB, free: 10.62 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009713/0.9265, allocations: 0.7798 MB / 1.363 GB, free: 9.824 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.9277, allocations: 0.8532 MB / 1.363 GB, free: 8.969 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.9292, allocations: 0.7871 MB / 1.364 GB, free: 8.184 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.9294, allocations: 88 kB / 1.364 GB, free: 8.098 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.9323, allocations: 1.59 MB / 1.366 GB, free: 6.504 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003756/0.9327, allocations: 363 kB / 1.366 GB, free: 6.148 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005665/0.9333, allocations: 0.5522 MB / 1.367 GB, free: 5.594 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.9358, allocations: 1.934 MB / 1.369 GB, free: 3.656 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.9359, allocations: 3.938 kB / 1.369 GB, free: 3.652 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9359, allocations: 0 / 1.369 GB, free: 3.652 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.9359, allocations: 0 / 1.369 GB, free: 3.652 MB / 1.092 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.002141/0.938, allocations: 1.416 MB / 1.37 GB, free: 2.184 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.9381, allocations: 8.922 kB / 1.37 GB, free: 2.176 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001309/0.9382, allocations: 110.5 kB / 1.37 GB, free: 2.059 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.9401, allocations: 323 kB / 1.37 GB, free: 1.742 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.9413, allocations: 0.7891 MB / 1.371 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.9413, allocations: 53.25 kB / 1.371 GB, free: 0.8594 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.9414, allocations: 64 kB / 1.371 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.9428, allocations: 0.7939 MB / 1.372 GB, free: 15.98 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.9428, allocations: 4 kB / 1.372 GB, free: 15.98 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.9429, allocations: 24 kB / 1.372 GB, free: 15.95 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.784e-05/0.9429, allocations: 37.3 kB / 1.372 GB, free: 15.92 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.9441, allocations: 0.6297 MB / 1.373 GB, free: 15.29 MB / 1.107 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.003954/0.948, allocations: 3.371 MB / 1.376 GB, free: 11.61 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008917/0.9489, allocations: 0.4988 MB / 1.377 GB, free: 11.11 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/0.9494, allocations: 293.9 kB / 1.377 GB, free: 10.82 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006715/0.9501, allocations: 0.677 MB / 1.377 GB, free: 9.996 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.9501, allocations: 42.94 kB / 1.378 GB, free: 9.945 MB / 1.107 GB Notification: Performance of pre-optimization done (n=51): time 2.124e-06/0.9501, allocations: 0 / 1.378 GB, free: 9.945 MB / 1.107 GB Notification: Performance of matching and sorting (n=51): time 0.001638/0.9518, allocations: 0.7836 MB / 1.378 GB, free: 9.156 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.9518, allocations: 55.84 kB / 1.378 GB, free: 9.09 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/0.9525, allocations: 0.5902 MB / 1.379 GB, free: 8.492 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.9526, allocations: 37.7 kB / 1.379 GB, free: 8.449 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.9529, allocations: 388.8 kB / 1.379 GB, free: 8.062 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.9531, allocations: 198.3 kB / 1.38 GB, free: 7.867 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.9532, allocations: 98.2 kB / 1.38 GB, free: 7.766 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.9534, allocations: 378.8 kB / 1.38 GB, free: 7.387 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.9538, allocations: 209 kB / 1.38 GB, free: 7.184 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.9543, allocations: 291.1 kB / 1.38 GB, free: 6.883 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008593/0.9552, allocations: 0.5036 MB / 1.381 GB, free: 6.363 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9552, allocations: 4.031 kB / 1.381 GB, free: 6.359 MB / 1.107 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001059/0.9563, allocations: 0.6195 MB / 1.382 GB, free: 5.734 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.9563, allocations: 4 kB / 1.382 GB, free: 5.73 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9563, allocations: 4 kB / 1.382 GB, free: 5.727 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.9563, allocations: 7.938 kB / 1.382 GB, free: 5.719 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.9569, allocations: 135.9 kB / 1.382 GB, free: 5.586 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.9569, allocations: 7.984 kB / 1.382 GB, free: 5.578 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.9575, allocations: 43.72 kB / 1.382 GB, free: 5.535 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.9576, allocations: 20 kB / 1.382 GB, free: 5.516 MB / 1.107 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.0003208/0.9579, allocations: 261.6 kB / 1.382 GB, free: 5.25 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.958, allocations: 79.47 kB / 1.382 GB, free: 5.172 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.9592, allocations: 0.601 MB / 1.383 GB, free: 4.559 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.9592, allocations: 7.938 kB / 1.383 GB, free: 4.551 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.9592, allocations: 0 / 1.383 GB, free: 4.551 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/0.9602, allocations: 0.8106 MB / 1.383 GB, free: 3.656 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.9625, allocations: 1.546 MB / 1.385 GB, free: 2.043 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9625, allocations: 0 / 1.385 GB, free: 2.043 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/0.9633, allocations: 159.9 kB / 1.385 GB, free: 1.887 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.9633, allocations: 4 kB / 1.385 GB, free: 1.883 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.9633, allocations: 15.98 kB / 1.385 GB, free: 1.867 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.9633, allocations: 4 kB / 1.385 GB, free: 1.863 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9633, allocations: 0 / 1.385 GB, free: 1.863 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.9649, allocations: 0.9553 MB / 1.386 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.9651, allocations: 220.4 kB / 1.386 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-05/0.9652, allocations: 15.98 kB / 1.386 GB, free: 0.6289 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.9658, allocations: 19.98 kB / 1.386 GB, free: 0.6094 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.9659, allocations: 32.39 kB / 1.386 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.9659, allocations: 23.98 kB / 1.386 GB, free: 0.5547 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004912/0.9664, allocations: 427 kB / 1.387 GB, free: 144 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.994e-06/0.9664, allocations: 0 / 1.387 GB, free: 144 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006972/0.9671, allocations: 287.4 kB / 1.387 GB, free: 15.86 MB / 1.123 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.002135/0.9693, allocations: 1.593 MB / 1.389 GB, free: 14.23 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009676/0.9703, allocations: 0.5056 MB / 1.389 GB, free: 13.73 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.9703, allocations: 4 kB / 1.389 GB, free: 13.73 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.9707, allocations: 270.3 kB / 1.389 GB, free: 13.46 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.9728, allocations: 0.4884 MB / 1.39 GB, free: 13 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008199/0.981, allocations: 5.99 MB / 1.396 GB, free: 6.863 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/0.9817, allocations: 1.024 MB / 1.397 GB, free: 5.812 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005912/0.9823, allocations: 178.1 kB / 1.397 GB, free: 5.637 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.9827, allocations: 311.3 kB / 1.397 GB, free: 5.332 MB / 1.123 GB Notification: Performance of SimCode: time 6.61e-07/0.9827, allocations: 3.938 kB / 1.397 GB, free: 5.328 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.781/2.763, allocations: 21.96 MB / 1.419 GB, free: 15.69 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/14.88, allocations: 8 kB / 1.419 GB, free: 15.68 MB / 1.154 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)