Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Systems.ModularAHU.Examples.DemandControlledAHU.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/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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/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.Systems.ModularAHU.Examples.DemandControlledAHU,fileNamePrefix="AixLib_AixLib_Systems_ModularAHU_Examples_DemandControlledAHU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Systems.ModularAHU.Examples.DemandControlledAHU,fileNamePrefix="AixLib_AixLib_Systems_ModularAHU_Examples_DemandControlledAHU",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.0008929/0.0008927, allocations: 98.27 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.005752/0.005752, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1867/0.1867, allocations: 12.03 MB / 303.4 MB, free: 1.621 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000265/0.0002651, allocations: 11.98 kB / 357.5 MB, free: 3.074 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/package.mo): time 1.884/1.884, allocations: 266.8 MB / 0.6625 GB, free: 3.105 MB / 462.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005128/0.0005128, allocations: 16.86 kB / 0.7834 GB, free: 32.3 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2528, allocations: 110.2 MB / 0.891 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Systems.ModularAHU.Examples.DemandControlledAHU): time 10.71/10.96, allocations: 3.48 GB / 4.371 GB, free: 6.699 MB / 1.717 GB Notification: Performance of NFInst.instExpressions: time 0.6736/11.64, allocations: 483 MB / 4.843 GB, free: 2.176 MB / 1.873 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1143/11.75, allocations: 2.004 MB / 4.845 GB, free: 164 kB / 1.873 GB Notification: Performance of NFTyping.typeComponents: time 0.09241/11.85, allocations: 30.31 MB / 4.875 GB, free: 3.355 MB / 1.904 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/ReducedOrder/ThermalZone/ThermalZone.mo:305:47-305:67:writable] Warning: Conditional component ‘volMoiAir‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/ReducedOrder/ThermalZone/ThermalZone.mo:399:55-399:74:writable] Warning: Conditional component ‘volMoiAir‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/ReducedOrder/ThermalZone/ThermalZone.mo:414:71-417:46:writable] Warning: Conditional component ‘lights‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/ReducedOrder/ThermalZone/ThermalZone.mo:414:71-417:46:writable] Warning: Conditional component ‘machinesSenHea‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/ReducedOrder/ThermalZone/ThermalZone.mo:414:71-417:46:writable] Warning: Conditional component ‘humanTotHeaDependent‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.2328/12.08, allocations: 70.62 MB / 4.943 GB, free: 6.113 MB / 1.967 GB Notification: Performance of NFTyping.typeClassSections: time 0.1447/12.22, allocations: 52.28 MB / 4.995 GB, free: 4.402 MB / 2.014 GB Notification: Performance of NFFlatten.flatten: time 1.837/14.06, allocations: 228.5 MB / 5.218 GB, free: 47.11 MB / 2.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1457/14.21, allocations: 70.93 MB / 5.287 GB, free: 36.05 MB / 2.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1395/14.34, allocations: 51.16 MB / 5.337 GB, free: 32.08 MB / 2.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09751/14.44, allocations: 47.74 MB / 5.383 GB, free: 6.285 MB / 2.029 GB Notification: Performance of NFPackage.collectConstants: time 0.03031/14.47, allocations: 2.734 MB / 5.386 GB, free: 3.551 MB / 2.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1446/14.62, allocations: 36.77 MB / 5.422 GB, free: 5.047 MB / 2.045 GB Notification: Performance of NFScalarize.scalarize: time 0.03978/14.66, allocations: 17.7 MB / 5.439 GB, free: 8.102 MB / 2.061 GB Notification: Performance of NFVerifyModel.verify: time 0.1012/14.76, allocations: 38.85 MB / 5.477 GB, free: 0 / 2.076 GB Notification: Performance of NFConvertDAE.convert: time 0.2374/15, allocations: 162.6 MB / 5.636 GB, free: 8.227 MB / 2.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/15, allocations: 0 / 5.636 GB, free: 8.227 MB / 2.217 GB Notification: Performance of FrontEnd: time 3.106e-06/15, allocations: 0 / 5.636 GB, free: 8.227 MB / 2.217 GB Notification: Performance of Transformations before backend: time 0.004194/15, allocations: 4 kB / 5.636 GB, free: 8.223 MB / 2.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11456 * Number of variables: 11456 Notification: Performance of Generate backend data structure: time 0.1979/15.2, allocations: 68.55 MB / 5.703 GB, free: 11.06 MB / 2.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/15.2, allocations: 8.031 kB / 5.703 GB, free: 11.05 MB / 2.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.03265/15.23, allocations: 5.819 MB / 5.709 GB, free: 8.035 MB / 2.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1167/15.35, allocations: 20.21 MB / 5.728 GB, free: 4.117 MB / 2.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1956/15.54, allocations: 96.14 MB / 5.822 GB, free: 5.785 MB / 2.358 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004287/15.55, allocations: 3.442 MB / 5.826 GB, free: 2.352 MB / 2.358 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115/16.66, allocations: 4.54 MB / 5.83 GB, free: 1.461 GB / 2.358 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2251/16.89, allocations: 67.25 MB / 5.896 GB, free: 1.449 GB / 2.358 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002359/16.89, allocations: 104.8 kB / 5.896 GB, free: 1.449 GB / 2.358 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01558/16.91, allocations: 1.827 MB / 5.898 GB, free: 1.447 GB / 2.358 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001385/16.91, allocations: 1.753 MB / 5.899 GB, free: 1.447 GB / 2.358 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1607/17.07, allocations: 64.06 MB / 5.962 GB, free: 1.419 GB / 2.358 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.5283/17.6, allocations: 322.9 MB / 6.277 GB, free: 1.137 GB / 2.358 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08754/17.68, allocations: 49.85 MB / 6.326 GB, free: 1.089 GB / 2.358 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04877/17.73, allocations: 23.95 MB / 6.349 GB, free: 1.065 GB / 2.358 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 evalFunc (simulation): time 0.1892/17.92, allocations: 112.2 MB / 6.459 GB, free: 0.9514 GB / 2.358 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05074/17.97, allocations: 23.93 MB / 6.482 GB, free: 0.928 GB / 2.358 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0296/18, allocations: 2.572 MB / 6.485 GB, free: 0.9255 GB / 2.358 GB Notification: Performance of pre-optimization done (n=2922): time 8.662e-05/18, allocations: 0 / 6.485 GB, free: 0.9255 GB / 2.358 GB Notification: Performance of matching and sorting (n=2958): time 0.4055/18.41, allocations: 154.3 MB / 6.635 GB, free: 0.7741 GB / 2.358 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005737/18.41, allocations: 0.6835 MB / 6.636 GB, free: 0.7733 GB / 2.358 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1475/18.56, allocations: 69.72 MB / 6.704 GB, free: 0.7057 GB / 2.358 GB Notification: Performance of collectPreVariables (initialization): time 0.008336/18.56, allocations: 0.606 MB / 6.705 GB, free: 0.7051 GB / 2.358 GB Notification: Performance of collectInitialEqns (initialization): time 0.03832/18.6, allocations: 32.67 MB / 6.737 GB, free: 0.6731 GB / 2.358 GB Notification: Performance of collectInitialBindings (initialization): time 0.01682/18.62, allocations: 10.34 MB / 6.747 GB, free: 0.6631 GB / 2.358 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01015/18.63, allocations: 2.581 MB / 6.749 GB, free: 0.6605 GB / 2.358 GB Notification: Performance of setup shared object (initialization): time 4.709e-05/18.63, allocations: 301.1 kB / 6.75 GB, free: 0.6602 GB / 2.358 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04612/18.68, allocations: 20.64 MB / 6.77 GB, free: 0.6401 GB / 2.358 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04686/18.72, allocations: 26.59 MB / 6.796 GB, free: 0.6118 GB / 2.358 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: genericAHU.preheater.dynamicHX.vol1[1].dynBal.medium.p = genericAHU.preheater.dynamicHX.vol1[1].dynBal.p_start (101325.0 = genericAHU.preheater.dynamicHX.vol1[1].dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: genericAHU.cooler.dynamicHX.vol1[1].dynBal.medium.p = genericAHU.cooler.dynamicHX.vol1[1].dynBal.p_start (101325.0 = genericAHU.cooler.dynamicHX.vol1[1].dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: genericAHU.heater.dynamicHX.vol1[1].dynBal.medium.p = genericAHU.heater.dynamicHX.vol1[1].dynBal.p_start (101325.0 = genericAHU.heater.dynamicHX.vol1[1].dynBal.p_start) Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: genericAHU.dynamicHX.vol2[1].dynBal.medium.p = genericAHU.dynamicHX.vol2[1].dynBal.p_start (101325.0 = genericAHU.dynamicHX.vol2[1].dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: genericAHU.fanSup.vol.dynBal.medium.p = genericAHU.fanSup.vol.dynBal.p_start (genericAHU.humidifier.vol.dynBal.p_start = genericAHU.fanSup.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 1.595/20.32, allocations: 438.1 MB / 7.224 GB, free: 187.5 MB / 2.358 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001409/20.32, allocations: 44 kB / 7.224 GB, free: 187.4 MB / 2.358 GB Notification: Performance of matching and sorting (n=4136) (initialization): time 0.136/20.45, allocations: 57.51 MB / 7.28 GB, free: 129.7 MB / 2.358 GB Notification: Performance of prepare postOptimizeDAE: time 0.002239/20.46, allocations: 5.133 MB / 7.285 GB, free: 122.4 MB / 2.358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005358/20.46, allocations: 204 kB / 7.285 GB, free: 122.2 MB / 2.358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02398/20.48, allocations: 6.433 MB / 7.291 GB, free: 115.6 MB / 2.358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03797/20.52, allocations: 8.019 MB / 7.299 GB, free: 107.5 MB / 2.358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04954/20.57, allocations: 78.88 MB / 7.376 GB, free: 23.3 MB / 2.358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05165/20.62, allocations: 4.518 MB / 7.381 GB, free: 18.8 MB / 2.358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00774/20.63, allocations: 1.41 MB / 7.382 GB, free: 17.39 MB / 2.358 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/20.63, allocations: 4 kB / 7.382 GB, free: 17.39 MB / 2.358 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.09/21.72, allocations: 22.43 MB / 7.404 GB, free: 1.362 GB / 2.358 GB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated