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: translateModel(AixLib.Systems.ModularAHU.Examples.DemandControlledAHU,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10078,variableFilter="",fileNamePrefix="AixLib_AixLib.Systems.ModularAHU.Examples.DemandControlledAHU") translateModel(AixLib.Systems.ModularAHU.Examples.DemandControlledAHU,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10078,variableFilter="",fileNamePrefix="AixLib_AixLib.Systems.ModularAHU.Examples.DemandControlledAHU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007859/0.0007859, allocations: 91.92 kB / 16.02 MB, free: 80 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.001147/0.001147, allocations: 184.2 kB / 16.92 MB, free: 6.926 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.41/1.41, allocations: 223.2 MB / 241 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1814/0.1814, allocations: 12.04 MB / 304.1 MB, free: 1.629 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002359/0.0002358, allocations: 15.92 kB / 358.2 MB, free: 3.031 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.879/1.879, allocations: 266.8 MB / 0.6632 GB, free: 3.023 MB / 462.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004578, allocations: 15.88 kB / 0.7839 GB, free: 32.3 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2377, allocations: 110.2 MB / 0.8915 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Systems.ModularAHU.Examples.DemandControlledAHU): time 10.83/11.06, allocations: 3.48 GB / 4.372 GB, free: 6.68 MB / 1.717 GB Notification: Performance of NFInst.instExpressions: time 0.6416/11.71, allocations: 483 MB / 4.843 GB, free: 1.969 MB / 1.873 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1269/11.83, allocations: 2.004 MB / 4.845 GB, free: 15.95 MB / 1.889 GB Notification: Performance of NFTyping.typeComponents: time 0.08382/11.92, allocations: 30.3 MB / 4.875 GB, free: 3.148 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.2118/12.13, allocations: 70.62 MB / 4.944 GB, free: 5.906 MB / 1.967 GB Notification: Performance of NFTyping.typeClassSections: time 0.1369/12.27, allocations: 52.27 MB / 4.995 GB, free: 4.207 MB / 2.014 GB Notification: Performance of NFFlatten.flatten: time 1.854/14.12, allocations: 228.5 MB / 5.218 GB, free: 46.77 MB / 2.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1605/14.28, allocations: 70.93 MB / 5.287 GB, free: 35.71 MB / 2.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1483/14.43, allocations: 51.15 MB / 5.337 GB, free: 31.73 MB / 2.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1135/14.54, allocations: 47.74 MB / 5.384 GB, free: 5.84 MB / 2.029 GB Notification: Performance of NFPackage.collectConstants: time 0.02662/14.57, allocations: 2.734 MB / 5.387 GB, free: 3.105 MB / 2.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1237/14.69, allocations: 36.04 MB / 5.422 GB, free: 3.125 MB / 2.045 GB Notification: Performance of NFScalarize.scalarize: time 0.04755/14.74, allocations: 18.06 MB / 5.44 GB, free: 8.836 MB / 2.061 GB Notification: Performance of NFVerifyModel.verify: time 0.1126/14.85, allocations: 38.75 MB / 5.477 GB, free: 0 / 2.076 GB Notification: Performance of NFConvertDAE.convert: time 0.1918/15.04, allocations: 140.4 MB / 5.614 GB, free: 11.18 MB / 2.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/15.04, allocations: 3.984 kB / 5.614 GB, free: 11.17 MB / 2.201 GB Notification: Performance of FrontEnd: time 2.725e-06/15.04, allocations: 5.625 kB / 5.614 GB, free: 11.17 MB / 2.201 GB Notification: Performance of Transformations before backend: time 0.004746/15.05, allocations: 0 / 5.614 GB, free: 11.17 MB / 2.201 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.2084/15.26, allocations: 68.54 MB / 5.681 GB, free: 14 MB / 2.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/15.26, allocations: 12.03 kB / 5.681 GB, free: 13.99 MB / 2.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1086/15.37, allocations: 20.2 MB / 5.701 GB, free: 10.07 MB / 2.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2058/15.57, allocations: 96.14 MB / 5.795 GB, free: 0.8281 MB / 2.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005061/15.58, allocations: 3.442 MB / 5.798 GB, free: 13.41 MB / 2.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02349/15.6, allocations: 4.542 MB / 5.803 GB, free: 8.883 MB / 2.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.381/16.98, allocations: 67.24 MB / 5.868 GB, free: 1.447 GB / 2.358 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003406/16.99, allocations: 111.6 kB / 5.869 GB, free: 1.447 GB / 2.358 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02021/17.01, allocations: 1.827 MB / 5.87 GB, free: 1.447 GB / 2.358 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002003/17.01, allocations: 1.754 MB / 5.872 GB, free: 1.447 GB / 2.358 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1684/17.18, allocations: 64.07 MB / 5.935 GB, free: 1.422 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.5527/17.73, allocations: 322.9 MB / 6.25 GB, free: 1.162 GB / 2.358 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09332/17.82, allocations: 49.85 MB / 6.299 GB, free: 1.114 GB / 2.358 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05682/17.88, allocations: 23.95 MB / 6.322 GB, free: 1.09 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.2297/18.11, allocations: 112.2 MB / 6.432 GB, free: 0.9764 GB / 2.358 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06417/18.17, allocations: 23.93 MB / 6.455 GB, free: 0.953 GB / 2.358 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03632/18.21, allocations: 2.58 MB / 6.458 GB, free: 0.9505 GB / 2.358 GB Notification: Performance of pre-optimization done (n=2922): time 0.0001344/18.21, allocations: 0 / 6.458 GB, free: 0.9505 GB / 2.358 GB Notification: Performance of matching and sorting (n=2958): time 0.4518/18.66, allocations: 154.3 MB / 6.608 GB, free: 0.7991 GB / 2.358 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000335/18.66, allocations: 0.6788 MB / 6.609 GB, free: 0.7984 GB / 2.358 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1703/18.83, allocations: 69.73 MB / 6.677 GB, free: 0.7307 GB / 2.358 GB Notification: Performance of collectPreVariables (initialization): time 0.0103/18.84, allocations: 0.6055 MB / 6.678 GB, free: 0.7301 GB / 2.358 GB Notification: Performance of collectInitialEqns (initialization): time 0.05121/18.89, allocations: 32.66 MB / 6.709 GB, free: 0.6981 GB / 2.358 GB Notification: Performance of collectInitialBindings (initialization): time 0.01889/18.91, allocations: 10.35 MB / 6.72 GB, free: 0.6881 GB / 2.358 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01231/18.92, allocations: 2.589 MB / 6.722 GB, free: 0.6855 GB / 2.358 GB Notification: Performance of setup shared object (initialization): time 4.899e-05/18.92, allocations: 301.1 kB / 6.722 GB, free: 0.6852 GB / 2.358 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04816/18.97, allocations: 20.67 MB / 6.743 GB, free: 0.6651 GB / 2.358 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05171/19.02, allocations: 26.59 MB / 6.768 GB, free: 0.6368 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.591/20.62, allocations: 438.3 MB / 7.197 GB, free: 212.9 MB / 2.358 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000313/20.62, allocations: 48 kB / 7.197 GB, free: 212.9 MB / 2.358 GB Notification: Performance of matching and sorting (n=4144) (initialization): time 0.1667/20.78, allocations: 57.56 MB / 7.253 GB, free: 155.1 MB / 2.358 GB Notification: Performance of prepare postOptimizeDAE: time 0.003181/20.79, allocations: 5.134 MB / 7.258 GB, free: 147.8 MB / 2.358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007996/20.79, allocations: 204 kB / 7.258 GB, free: 147.6 MB / 2.358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02362/20.81, allocations: 6.421 MB / 7.264 GB, free: 141 MB / 2.358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04136/20.85, allocations: 8.035 MB / 7.272 GB, free: 132.9 MB / 2.358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05516/20.91, allocations: 78.87 MB / 7.349 GB, free: 48.69 MB / 2.358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06212/20.97, allocations: 4.519 MB / 7.354 GB, free: 44.18 MB / 2.358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0112/20.98, allocations: 1.423 MB / 7.355 GB, free: 42.76 MB / 2.358 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/20.98, allocations: 4 kB / 7.355 GB, free: 42.76 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 0.06864/21.05, allocations: 22.47 MB / 7.377 GB, free: 20.28 MB / 2.358 GB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated