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.0009288/0.0009289, allocations: 98.03 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.005777/0.005777, allocations: 168.5 kB / 16.26 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1877/0.1877, allocations: 12.02 MB / 303.5 MB, free: 1.66 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0001785/0.0001785, allocations: 11.98 kB / 357.5 MB, free: 3.094 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.765/1.765, allocations: 266.8 MB / 0.6625 GB, free: 3.082 MB / 462.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004924, allocations: 14.69 kB / 0.7833 GB, free: 32.37 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2167, allocations: 110.2 MB / 0.8909 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Systems.ModularAHU.Examples.DemandControlledAHU): time 9.72/9.937, allocations: 3.48 GB / 4.371 GB, free: 7.031 MB / 1.733 GB Notification: Performance of NFInst.instExpressions: time 0.6903/10.63, allocations: 483 MB / 4.843 GB, free: 15.74 MB / 1.889 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1506/10.78, allocations: 2 MB / 4.845 GB, free: 13.73 MB / 1.889 GB Notification: Performance of NFTyping.typeComponents: time 0.09106/10.87, allocations: 30.31 MB / 4.874 GB, free: 0.9219 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.2088/11.08, allocations: 70.63 MB / 4.943 GB, free: 3.684 MB / 1.967 GB Notification: Performance of NFTyping.typeClassSections: time 0.135/11.21, allocations: 52.27 MB / 4.994 GB, free: 4.055 MB / 2.014 GB Notification: Performance of NFFlatten.flatten: time 1.757/12.97, allocations: 228.5 MB / 5.218 GB, free: 46.41 MB / 2.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.167/13.14, allocations: 70.93 MB / 5.287 GB, free: 35.34 MB / 2.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1455/13.28, allocations: 51.15 MB / 5.337 GB, free: 31.43 MB / 2.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1089/13.39, allocations: 47.74 MB / 5.383 GB, free: 16.55 MB / 2.045 GB Notification: Performance of NFPackage.collectConstants: time 0.02494/13.42, allocations: 2.734 MB / 5.386 GB, free: 13.82 MB / 2.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1262/13.54, allocations: 37.11 MB / 5.422 GB, free: 0 / 2.045 GB Notification: Performance of NFScalarize.scalarize: time 0.04744/13.59, allocations: 18.36 MB / 5.44 GB, free: 5.664 MB / 2.061 GB Notification: Performance of NFVerifyModel.verify: time 0.09551/13.69, allocations: 38.67 MB / 5.478 GB, free: 12.26 MB / 2.092 GB Notification: Performance of NFConvertDAE.convert: time 0.2359/13.92, allocations: 162.5 MB / 5.637 GB, free: 5.066 MB / 2.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/13.92, allocations: 0 / 5.637 GB, free: 5.066 MB / 2.217 GB Notification: Performance of FrontEnd: time 2.595e-06/13.92, allocations: 7.938 kB / 5.637 GB, free: 5.059 MB / 2.217 GB Notification: Performance of Transformations before backend: time 0.004265/13.93, allocations: 0 / 5.637 GB, free: 5.059 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.1944/14.12, allocations: 68.55 MB / 5.704 GB, free: 7.887 MB / 2.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/14.12, allocations: 8.031 kB / 5.704 GB, free: 7.879 MB / 2.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1109/14.23, allocations: 20.2 MB / 5.723 GB, free: 3.969 MB / 2.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1979/14.43, allocations: 96.14 MB / 5.817 GB, free: 14.69 MB / 2.358 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0051/14.43, allocations: 3.447 MB / 5.821 GB, free: 11.26 MB / 2.358 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0213/14.46, allocations: 4.545 MB / 5.825 GB, free: 6.73 MB / 2.358 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.278/15.73, allocations: 67.24 MB / 5.891 GB, free: 1.477 GB / 2.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002689/15.74, allocations: 106 kB / 5.891 GB, free: 1.477 GB / 2.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0153/15.75, allocations: 1.823 MB / 5.893 GB, free: 1.477 GB / 2.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001582/15.75, allocations: 1.759 MB / 5.894 GB, free: 1.477 GB / 2.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.162/15.92, allocations: 64.06 MB / 5.957 GB, free: 1.452 GB / 2.373 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.4834/16.4, allocations: 322.9 MB / 6.272 GB, free: 1.192 GB / 2.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08787/16.49, allocations: 49.86 MB / 6.321 GB, free: 1.144 GB / 2.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04622/16.53, allocations: 23.94 MB / 6.344 GB, free: 1.12 GB / 2.373 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.1985/16.73, allocations: 112.2 MB / 6.454 GB, free: 1.006 GB / 2.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05503/16.79, allocations: 23.93 MB / 6.477 GB, free: 0.983 GB / 2.373 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03009/16.82, allocations: 2.576 MB / 6.48 GB, free: 0.9805 GB / 2.373 GB Notification: Performance of pre-optimization done (n=2922): time 7.812e-05/16.82, allocations: 0 / 6.48 GB, free: 0.9805 GB / 2.373 GB Notification: Performance of matching and sorting (n=2958): time 0.4263/17.24, allocations: 154.3 MB / 6.63 GB, free: 0.8291 GB / 2.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002714/17.24, allocations: 0.6761 MB / 6.631 GB, free: 0.8283 GB / 2.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1376/17.38, allocations: 69.74 MB / 6.699 GB, free: 0.7607 GB / 2.373 GB Notification: Performance of collectPreVariables (initialization): time 0.007175/17.39, allocations: 0.6085 MB / 6.7 GB, free: 0.7601 GB / 2.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.03554/17.42, allocations: 32.66 MB / 6.732 GB, free: 0.7281 GB / 2.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.01609/17.44, allocations: 10.35 MB / 6.742 GB, free: 0.718 GB / 2.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01009/17.45, allocations: 2.589 MB / 6.744 GB, free: 0.7155 GB / 2.373 GB Notification: Performance of setup shared object (initialization): time 4.501e-05/17.45, allocations: 301.1 kB / 6.745 GB, free: 0.7152 GB / 2.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04419/17.49, allocations: 20.67 MB / 6.765 GB, free: 0.6951 GB / 2.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04564/17.54, allocations: 26.6 MB / 6.791 GB, free: 0.6668 GB / 2.373 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.641/19.18, allocations: 438.3 MB / 7.219 GB, free: 243.5 MB / 2.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001832/19.18, allocations: 44 kB / 7.219 GB, free: 243.5 MB / 2.373 GB Notification: Performance of matching and sorting (n=4144) (initialization): time 0.1527/19.33, allocations: 57.55 MB / 7.275 GB, free: 185.7 MB / 2.373 GB Notification: Performance of prepare postOptimizeDAE: time 0.002333/19.34, allocations: 5.134 MB / 7.28 GB, free: 178.4 MB / 2.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000593/19.34, allocations: 204 kB / 7.28 GB, free: 178.2 MB / 2.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.024/19.36, allocations: 6.427 MB / 7.287 GB, free: 171.6 MB / 2.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03924/19.4, allocations: 8.04 MB / 7.294 GB, free: 163.5 MB / 2.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0509/19.45, allocations: 78.88 MB / 7.371 GB, free: 79.3 MB / 2.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06284/19.51, allocations: 4.515 MB / 7.376 GB, free: 74.79 MB / 2.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01074/19.53, allocations: 1.421 MB / 7.377 GB, free: 73.37 MB / 2.373 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/19.53, allocations: 5.094 kB / 7.377 GB, free: 73.36 MB / 2.373 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.065/19.59, allocations: 22.46 MB / 7.399 GB, free: 50.89 MB / 2.373 GB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated