Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Airflow.FacadeVentilationUnit.Examples.FacadeVentilationUnit.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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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(AixLib.Airflow.FacadeVentilationUnit.Examples.FacadeVentilationUnit,fileNamePrefix="AixLib_latest_AixLib_Airflow_FacadeVentilationUnit_Examples_FacadeVentilationUnit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Airflow.FacadeVentilationUnit.Examples.FacadeVentilationUnit,fileNamePrefix="AixLib_latest_AixLib_Airflow_FacadeVentilationUnit_Examples_FacadeVentilationUnit",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.00124/0.00124, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1458/0.1458, allocations: 12.02 MB / 302.4 MB, free: 0.8945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004719/0.0004719, allocations: 27.95 kB / 355.5 MB, free: 3.828 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.676/1.676, allocations: 272.2 MB / 0.6648 GB, free: 12.94 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 113.7 kB / 0.785 GB, free: 31.29 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.17, allocations: 109.1 MB / 0.8916 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Airflow.FacadeVentilationUnit.Examples.FacadeVentilationUnit): time 0.749/0.919, allocations: 462.8 MB / 1.344 GB, free: 2.586 MB / 0.9357 GB Notification: Performance of NFInst.instExpressions: time 0.07249/0.9915, allocations: 60.82 MB / 1.403 GB, free: 5.613 MB / 0.9982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008495/1, allocations: 238.6 kB / 1.403 GB, free: 5.379 MB / 0.9982 GB Notification: Performance of NFTyping.typeComponents: time 0.01097/1.011, allocations: 4.63 MB / 1.408 GB, free: 0.7227 MB / 0.9982 GB Notification: Performance of NFTyping.typeBindings: time 0.5203/1.531, allocations: 12.04 MB / 1.419 GB, free: 3.797 MB / 0.9982 GB Notification: Performance of NFTyping.typeClassSections: time 0.01816/1.55, allocations: 8.716 MB / 1.428 GB, free: 3.68 MB / 0.9982 GB Notification: Performance of NFFlatten.flatten: time 0.02719/1.577, allocations: 18.98 MB / 1.446 GB, free: 3.633 MB / 0.9982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/1.588, allocations: 7.843 MB / 1.454 GB, free: 2.699 MB / 0.9982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02145/1.61, allocations: 10.27 MB / 1.464 GB, free: 2.562 MB / 0.9982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/1.621, allocations: 6.048 MB / 1.47 GB, free: 1.918 MB / 0.9982 GB Notification: Performance of NFPackage.collectConstants: time 0.002/1.623, allocations: 0.9865 MB / 1.471 GB, free: 1.918 MB / 0.9982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02342/1.646, allocations: 10.47 MB / 1.481 GB, free: 1.812 MB / 0.9982 GB Notification: Performance of NFScalarize.scalarize: time 0.004883/1.651, allocations: 2.833 MB / 1.484 GB, free: 1.512 MB / 0.9982 GB Notification: Performance of NFVerifyModel.verify: time 0.0119/1.663, allocations: 4.712 MB / 1.489 GB, free: 324 kB / 0.9982 GB Notification: Performance of NFConvertDAE.convert: time 0.02909/1.692, allocations: 16.55 MB / 1.505 GB, free: 14.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.692, allocations: 0 / 1.505 GB, free: 14.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/1.692, allocations: 0 / 1.505 GB, free: 14.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0004648/1.693, allocations: 0 / 1.505 GB, free: 14.59 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: 1264 * Number of variables: 1264 Notification: Performance of Generate backend data structure: time 0.0304/1.723, allocations: 9.217 MB / 1.514 GB, free: 10.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.723, allocations: 10.03 kB / 1.514 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002564/1.726, allocations: 0.6557 MB / 1.514 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02014/1.746, allocations: 3.001 MB / 1.517 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/1.76, allocations: 6.344 MB / 1.524 GB, free: 7.883 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002165/1.763, allocations: 0.8467 MB / 1.524 GB, free: 7.613 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002012/1.765, allocations: 0.5197 MB / 1.525 GB, free: 7.609 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/1.783, allocations: 7.036 MB / 1.532 GB, free: 5.645 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002118/1.783, allocations: 12.72 kB / 1.532 GB, free: 5.641 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001465/1.785, allocations: 200.4 kB / 1.532 GB, free: 5.641 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/1.785, allocations: 228.2 kB / 1.532 GB, free: 5.613 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/1.802, allocations: 6.822 MB / 1.539 GB, free: 4.121 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.05813/1.86, allocations: 32.84 MB / 1.571 GB, free: 7.508 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/1.87, allocations: 4.959 MB / 1.576 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005859/1.876, allocations: 2.669 MB / 1.578 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001612/1.878, allocations: 1.311 MB / 1.58 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006867/1.884, allocations: 2.968 MB / 1.583 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004047/1.889, allocations: 0.6757 MB / 1.583 GB, free: 10.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=358): time 1.244e-05/1.889, allocations: 4 kB / 1.583 GB, free: 10.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=367): time 0.04066/1.929, allocations: 14.98 MB / 1.598 GB, free: 11.36 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/1.929, allocations: 141.7 kB / 1.598 GB, free: 11.19 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01171/1.941, allocations: 5.593 MB / 1.603 GB, free: 5.609 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/1.942, allocations: 121.7 kB / 1.604 GB, free: 5.484 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.003547/1.946, allocations: 3.038 MB / 1.607 GB, free: 2.445 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002066/1.948, allocations: 1.246 MB / 1.608 GB, free: 1.211 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003542/1.951, allocations: 0.96 MB / 1.609 GB, free: 244 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.518e-05/1.952, allocations: 301.1 kB / 1.609 GB, free: 15.94 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006089/1.958, allocations: 2.469 MB / 1.611 GB, free: 13.45 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007047/1.965, allocations: 3.751 MB / 1.615 GB, free: 9.176 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1237/2.088, allocations: 22.51 MB / 1.637 GB, free: 2.336 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.703e-05/2.088, allocations: 12 kB / 1.637 GB, free: 2.324 MB / 1.108 GB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01999/2.108, allocations: 7.234 MB / 1.644 GB, free: 11.25 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/2.109, allocations: 23.56 kB / 1.644 GB, free: 11.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.372e-05/2.109, allocations: 28 kB / 1.644 GB, free: 11.21 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/2.11, allocations: 455.2 kB / 1.645 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006572/2.117, allocations: 1.276 MB / 1.646 GB, free: 9.543 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005325/2.122, allocations: 6.869 MB / 1.653 GB, free: 2.32 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007459/2.13, allocations: 437 kB / 1.653 GB, free: 1.891 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/2.131, allocations: 239.8 kB / 1.653 GB, free: 1.656 MB / 1.123 GB Warning: Assuming fixed start value for the following 8 variables: FVU.fanExhaustAir.fan.vol.dynBal.U:VARIABLE(start = FVU.fanExhaustAir.fan.vol.dynBal.fluidVolume * FVU.fanExhaustAir.fan.vol.dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + FVU.fanExhaustAir.fan.vol.dynBal.T_start) * (1.0 - FVU.fanExhaustAir.fan.vol.dynBal.X_start[1]) + (2501014.5 + 1860.0 * (-273.15 + FVU.fanExhaustAir.fan.vol.dynBal.T_start)) * FVU.fanExhaustAir.fan.vol.dynBal.X_start[1]) + (-273.15 + FVU.fanExhaustAir.fan.vol.dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real FVU.fanExhaustAir.fan.vol.dynBal.m:VARIABLE(min = 0.0 start = FVU.fanExhaustAir.fan.vol.V * 0.001184307920059215 unit = "kg" fixed = true stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real FVU.fanExhaustAir.fan.vol.dynBal.mXi[1]:VARIABLE(min = 0.0 start = FVU.fanExhaustAir.fan.vol.dynBal.fluidVolume * FVU.fanExhaustAir.fan.vol.dynBal.rho_start * FVU.fanExhaustAir.fan.vol.dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [1] FVU.fanSupplyAir.fan.vol.dynBal.U:VARIABLE(start = FVU.fanSupplyAir.fan.vol.dynBal.fluidVolume * FVU.fanSupplyAir.fan.vol.dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + FVU.fanSupplyAir.fan.vol.dynBal.T_start) * (1.0 - FVU.fanSupplyAir.fan.vol.dynBal.X_start[1]) + (2501014.5 + 1860.0 * (-273.15 + FVU.fanSupplyAir.fan.vol.dynBal.T_start)) * FVU.fanSupplyAir.fan.vol.dynBal.X_start[1]) + (-273.15 + FVU.fanSupplyAir.fan.vol.dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real FVU.fanSupplyAir.fan.vol.dynBal.m:VARIABLE(min = 0.0 start = FVU.fanSupplyAir.fan.vol.V * 0.005921539600296077 unit = "kg" fixed = true stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real FVU.fanSupplyAir.fan.vol.dynBal.mXi[1]:VARIABLE(min = 0.0 start = FVU.fanSupplyAir.fan.vol.dynBal.fluidVolume * FVU.fanSupplyAir.fan.vol.dynBal.rho_start * FVU.fanSupplyAir.fan.vol.dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [1] FVU.volume.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = 0.01 unit = "1" fixed = true nominal = 0.1 stateSelect=StateSelect.prefer ) "Structurally independent mass fractions" type: Real [1] FVU.volume.medium.T:VARIABLE(min = 1.0 max = 10000.0 start = FVU.volume.T_start unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01019/2.141, allocations: 3.946 MB / 1.657 GB, free: 13.71 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007409/2.149, allocations: 3.678 MB / 1.661 GB, free: 9.512 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.122/2.271, allocations: 22.19 MB / 1.682 GB, free: 2.988 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.96e-05/2.271, allocations: 8 kB / 1.682 GB, free: 2.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=572) (initialization_lambda0): time 0.01733/2.288, allocations: 6.972 MB / 1.689 GB, free: 12.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/2.288, allocations: 24.25 kB / 1.689 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.984e-05/2.288, allocations: 28 kB / 1.689 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/2.289, allocations: 357.7 kB / 1.689 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006403/2.296, allocations: 1.236 MB / 1.691 GB, free: 10.57 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007715/2.303, allocations: 9.236 MB / 1.7 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007339/2.311, allocations: 449.3 kB / 1.7 GB, free: 296 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/2.312, allocations: 227.9 kB / 1.7 GB, free: 68 kB / 1.17 GB Warning: Assuming fixed start value for the following 8 variables: FVU.fanExhaustAir.fan.vol.dynBal.U:VARIABLE(start = FVU.fanExhaustAir.fan.vol.dynBal.fluidVolume * FVU.fanExhaustAir.fan.vol.dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + FVU.fanExhaustAir.fan.vol.dynBal.T_start) * (1.0 - FVU.fanExhaustAir.fan.vol.dynBal.X_start[1]) + (2501014.5 + 1860.0 * (-273.15 + FVU.fanExhaustAir.fan.vol.dynBal.T_start)) * FVU.fanExhaustAir.fan.vol.dynBal.X_start[1]) + (-273.15 + FVU.fanExhaustAir.fan.vol.dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real FVU.fanExhaustAir.fan.vol.dynBal.m:VARIABLE(min = 0.0 start = FVU.fanExhaustAir.fan.vol.V * 0.001184307920059215 unit = "kg" fixed = true stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real FVU.fanExhaustAir.fan.vol.dynBal.mXi[1]:VARIABLE(min = 0.0 start = FVU.fanExhaustAir.fan.vol.dynBal.fluidVolume * FVU.fanExhaustAir.fan.vol.dynBal.rho_start * FVU.fanExhaustAir.fan.vol.dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [1] FVU.fanSupplyAir.fan.vol.dynBal.U:VARIABLE(start = FVU.fanSupplyAir.fan.vol.dynBal.fluidVolume * FVU.fanSupplyAir.fan.vol.dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + FVU.fanSupplyAir.fan.vol.dynBal.T_start) * (1.0 - FVU.fanSupplyAir.fan.vol.dynBal.X_start[1]) + (2501014.5 + 1860.0 * (-273.15 + FVU.fanSupplyAir.fan.vol.dynBal.T_start)) * FVU.fanSupplyAir.fan.vol.dynBal.X_start[1]) + (-273.15 + FVU.fanSupplyAir.fan.vol.dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real FVU.fanSupplyAir.fan.vol.dynBal.m:VARIABLE(min = 0.0 start = FVU.fanSupplyAir.fan.vol.V * 0.005921539600296077 unit = "kg" fixed = true stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real FVU.fanSupplyAir.fan.vol.dynBal.mXi[1]:VARIABLE(min = 0.0 start = FVU.fanSupplyAir.fan.vol.dynBal.fluidVolume * FVU.fanSupplyAir.fan.vol.dynBal.rho_start * FVU.fanSupplyAir.fan.vol.dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [1] FVU.volume.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = 0.01 unit = "1" fixed = true nominal = 0.1 stateSelect=StateSelect.prefer ) "Structurally independent mass fractions" type: Real [1] FVU.volume.medium.T:VARIABLE(min = 1.0 max = 10000.0 start = FVU.volume.T_start unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 43 (FVU.volume.regularFlow[1],FVU.volume.regularFlow[2],FVU.volume.regularFlow[3],FVU.volume.regularFlow[4],FVU.volume.inFlow[4],FVU.volume.inFlow[3],FVU.volume.inFlow[2],FVU.volume.inFlow[1],$PRE.FVUController.pre1.u,$PRE.FVUController.rSFlipFlop.pre.u,$PRE.FVUController.timer1.entryTime,$PRE.FVUController.timer.entryTime,$PRE.FVUController.heatRecoveryPossible.y,$PRE.FVUController.coldRecoveryPossible.y,$PRE.FVUController.freeCoolingPossible.y,$PRE.FVUController.roomToBeVentilated.y,$PRE.FVUController.roomToBeHeated.y,$PRE.FVUController.roomToBeCooled.y,FVUController.greaterThreshold.y,FVUController.pre1.y,FVUController.pre1.u,FVUController.or3.y,FVUController.booleanExpression.y,FVUController.PexaLargerPsupa.y,FVUController.rSFlipFlop.pre.u,FVUController.rSFlipFlop.QI,FVUController.rSFlipFlop.Q,FVUController.timer1.entryTime,FVUController.not1.y,FVUController.timePassed.y,FVUController.timer.entryTime,FVUController.and3.y,FVUController.climatizationNeeded.y,FVUController.and2.y,FVUController.and1.y,FVUController.heatRecoveryPossible.y,FVUController.coldRecoveryPossible.y,FVUController.freeCoolingPossible.y,FVUController.roomToBeVentilated.y,FVUController.roomToBeHeated.y,FVUController.roomToBeCooled.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (544): * Single equations (assignments): 535 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002471/2.314, allocations: 0.6246 MB / 1.701 GB, free: 15.5 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002216/2.317, allocations: 0.6211 MB / 1.702 GB, free: 14.87 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/2.334, allocations: 6.258 MB / 1.708 GB, free: 8.602 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/2.334, allocations: 36 kB / 1.708 GB, free: 8.566 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/2.334, allocations: 4 kB / 1.708 GB, free: 8.562 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01223/2.346, allocations: 5.069 MB / 1.713 GB, free: 3.438 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03045/2.377, allocations: 13.35 MB / 1.726 GB, free: 6.047 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/2.377, allocations: 4 kB / 1.726 GB, free: 6.043 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005044/2.382, allocations: 0.8414 MB / 1.727 GB, free: 5.238 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009296/2.383, allocations: 321.2 kB / 1.727 GB, free: 4.918 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000738/2.384, allocations: 123.9 kB / 1.727 GB, free: 4.797 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004906/2.389, allocations: 6.811 MB / 1.734 GB, free: 13.63 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/2.389, allocations: 11.94 kB / 1.734 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02096/2.41, allocations: 8.999 MB / 1.742 GB, free: 4.488 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003698/2.413, allocations: 1.313 MB / 1.744 GB, free: 3.148 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00196/2.415, allocations: 95.98 kB / 1.744 GB, free: 3.055 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005727/2.421, allocations: 383.5 kB / 1.744 GB, free: 2.68 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008055/2.422, allocations: 297.1 kB / 1.744 GB, free: 2.395 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005715/2.422, allocations: 151.9 kB / 1.745 GB, free: 2.246 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.008002/2.43, allocations: 3.743 MB / 1.748 GB, free: 14.52 MB / 1.233 GB Notification: Performance of sort global known variables: time 2.2e-07/2.43, allocations: 0 / 1.748 GB, free: 14.52 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.0115/2.442, allocations: 2.75 MB / 1.751 GB, free: 11.77 MB / 1.233 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 25 (FVU.fanExhaustAir.fan.vol.dynBal.U,FVU.fanExhaustAir.fan.vol.dynBal.m,FVU.fanExhaustAir.fan.vol.dynBal.mXi[1],FVU.fanExhaustAir.fan.filter.s[1],FVU.fanExhaustAir.fan.filter.s[2],FVU.fanSupplyAir.fan.vol.dynBal.U,FVU.fanSupplyAir.fan.vol.dynBal.m,FVU.fanSupplyAir.fan.vol.dynBal.mXi[1],FVU.fanSupplyAir.fan.filter.s[1],FVU.fanSupplyAir.fan.filter.s[2],FVU.damperCirculationAir.filter.s[1],FVU.damperCirculationAir.filter.s[2],FVU.damperBypass.filter.s[1],FVU.damperBypass.filter.s[2],FVU.damperHeatRecovery.filter.s[1],FVU.damperHeatRecovery.filter.s[2],FVU.damperFreshAir.filter.s[1],FVU.damperFreshAir.filter.s[2],FVU.volume.medium.Xi[1],FVU.volume.medium.T,FVU.heatingValve.filter.s[1],FVU.heatingValve.filter.s[2],FVU.coolingValve.filter.s[1],FVU.coolingValve.filter.s[2],supplyAirTemperature.T) * Number of discrete variables: 25 (FVUController.timePassed.y,FVUController.rSFlipFlop.Q,$whenCondition2,$whenCondition1,FVUController.roomToBeCooled.y,FVUController.roomToBeHeated.y,FVUController.roomToBeVentilated.y,FVUController.freeCoolingPossible.y,FVUController.coldRecoveryPossible.y,FVUController.heatRecoveryPossible.y,FVUController.and1.y,FVUController.and2.y,FVUController.climatizationNeeded.y,FVUController.and3.y,FVUController.timer.entryTime,FVUController.not1.y,FVUController.timer1.entryTime,FVUController.rSFlipFlop.QI,FVUController.rSFlipFlop.pre.u,FVUController.PexaLargerPsupa.y,FVUController.booleanExpression.y,FVUController.or3.y,FVUController.pre1.u,FVUController.pre1.y,FVUController.greaterThreshold.y) * Number of discrete states: 8 (FVUController.pre1.u,FVUController.rSFlipFlop.pre.u,FVUController.heatRecoveryPossible.y,FVUController.coldRecoveryPossible.y,FVUController.freeCoolingPossible.y,FVUController.roomToBeVentilated.y,FVUController.roomToBeHeated.y,FVUController.roomToBeCooled.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (375): * Single equations (assignments): 362 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02347/2.465, allocations: 10.51 MB / 1.761 GB, free: 1.363 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.03659/2.502, allocations: 12.27 MB / 1.773 GB, free: 5.281 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/2.502, allocations: 1.438 kB / 1.773 GB, free: 5.281 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.007964/2.51, allocations: 3.268 MB / 1.776 GB, free: 2.07 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01612/2.526, allocations: 2.897 MB / 1.779 GB, free: 15.29 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1306/2.657, allocations: 66.89 MB / 1.845 GB, free: 7.012 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00624/2.663, allocations: 3.621 MB / 1.848 GB, free: 3.348 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.0109/2.674, allocations: 1.915 MB / 1.85 GB, free: 1.457 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006003/2.68, allocations: 2.976 MB / 1.853 GB, free: 14.49 MB / 1.342 GB Notification: Performance of SimCode: time 1.163e-06/2.68, allocations: 4 kB / 1.853 GB, free: 14.49 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5628/3.243, allocations: 179.8 MB / 2.028 GB, free: 0.5846 GB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/18.47, allocations: 10.75 kB / 2.028 GB, free: 0.5846 GB / 1.342 GB (rm -f AixLib_latest_AixLib.Airflow.FacadeVentilationUnit.Examples.FacadeVentilationUnit.pipe ; mkfifo AixLib_latest_AixLib.Airflow.FacadeVentilationUnit.Examples.FacadeVentilationUnit.pipe ; head -c 1048576 < AixLib_latest_AixLib.Airflow.FacadeVentilationUnit.Examples.FacadeVentilationUnit.pipe >> ../files/AixLib_latest_AixLib.Airflow.FacadeVentilationUnit.Examples.FacadeVentilationUnit.sim & python3 -m fmpy simulate --output-file AixLib_latest_AixLib.Airflow.FacadeVentilationUnit.Examples.FacadeVentilationUnit_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 AixLib_latest_AixLib_Airflow_FacadeVentilationUnit_Examples_FacadeVentilationUnit.fmu > AixLib_latest_AixLib.Airflow.FacadeVentilationUnit.Examples.FacadeVentilationUnit.pipe 2>&1)