Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/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/ModelicaServices 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo) Running command: translateModel(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop") translateModel(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-development/package.mo): time 1.659/1.659, allocations: 267.3 MB / 282.3 MB, free: 5.281 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 187.2 kB / 339.9 MB, free: 2.578 MB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 0.6061 GB, free: 1.824 MB / 474.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001126, allocations: 101.6 kB / 0.7116 GB, free: 6.387 MB / 490.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.3865/0.3865, allocations: 12.02 MB / 0.8288 GB, free: 67.82 MB / 0.5887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004586/0.0004592, allocations: 31.88 kB / 0.9371 GB, free: 14.29 MB / 0.5887 GB Notification: AixLib requested package SDF of version 0.4.2. SDF 0.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006108/0.0006108, allocations: 20 kB / 1.057 GB, free: 2.887 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7886/0.7893, allocations: 110.2 MB / 1.165 GB, free: 160.2 MB / 0.7449 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.909, allocations: 382.3 MB / 1.538 GB, free: 101.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.909, allocations: 85.08 kB / 1.539 GB, free: 101.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.076/2.985, allocations: 243.4 MB / 1.776 GB, free: 270.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.555e-06/2.985, allocations: 1.406 kB / 1.776 GB, free: 270.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001313/2.985, allocations: 18.38 kB / 1.776 GB, free: 270.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00347/2.989, allocations: 1.06 MB / 1.777 GB, free: 269.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/2.989, allocations: 11.84 kB / 1.777 GB, free: 269.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004488/2.989, allocations: 80 kB / 1.777 GB, free: 269.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/2.992, allocations: 0.6902 MB / 1.778 GB, free: 269.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/2.992, allocations: 48.27 kB / 1.778 GB, free: 269.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.289e-05/2.992, allocations: 25.58 kB / 1.778 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/2.993, allocations: 308.8 kB / 1.778 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/2.993, allocations: 0 / 1.778 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/2.993, allocations: 10.19 kB / 1.778 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/2.993, allocations: 5.281 kB / 1.778 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/2.993, allocations: 295.2 kB / 1.779 GB, free: 269.5 MB / 0.948 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.003124/2.996, allocations: 1.674 MB / 1.78 GB, free: 268.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/2.997, allocations: 229.3 kB / 1.78 GB, free: 268.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002025/2.999, allocations: 1.52 MB / 1.782 GB, free: 267.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/2.999, allocations: 158 kB / 1.782 GB, free: 267.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003112/3, allocations: 38.47 kB / 1.782 GB, free: 267.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 2.776e-06/3, allocations: 0 / 1.782 GB, free: 267.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.005416/3.005, allocations: 1.108 MB / 1.783 GB, free: 267.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/3.005, allocations: 55.45 kB / 1.783 GB, free: 267.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/3.007, allocations: 0.8106 MB / 1.784 GB, free: 267 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/3.007, allocations: 31.67 kB / 1.784 GB, free: 267 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/3.007, allocations: 295 kB / 1.784 GB, free: 266.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-05/3.007, allocations: 75.44 kB / 1.784 GB, free: 266.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/3.007, allocations: 5.656 kB / 1.784 GB, free: 266.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.984e-05/3.008, allocations: 316.2 kB / 1.785 GB, free: 266.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/3.008, allocations: 65.94 kB / 1.785 GB, free: 266.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/3.008, allocations: 163.9 kB / 1.785 GB, free: 266.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/3.008, allocations: 84.08 kB / 1.785 GB, free: 266.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/3.008, allocations: 2.312 kB / 1.785 GB, free: 266.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002629/3.011, allocations: 0.5813 MB / 1.786 GB, free: 266.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001723/3.011, allocations: 0.5261 MB / 1.786 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/3.011, allocations: 6.109 kB / 1.786 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/3.013, allocations: 335.9 kB / 1.786 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/3.013, allocations: 24.58 kB / 1.787 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/3.016, allocations: 6.342 MB / 1.793 GB, free: 259.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/3.017, allocations: 43.89 kB / 1.793 GB, free: 259.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/3.017, allocations: 13.28 kB / 1.793 GB, free: 259.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/3.017, allocations: 3.656 kB / 1.793 GB, free: 259.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002229/3.019, allocations: 0.4904 MB / 1.793 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/3.019, allocations: 1.125 kB / 1.793 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/3.021, allocations: 309.3 kB / 1.794 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/3.021, allocations: 32.77 kB / 1.794 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/3.023, allocations: 6.324 MB / 1.8 GB, free: 253.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/3.024, allocations: 33.42 kB / 1.8 GB, free: 253.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/3.024, allocations: 13.41 kB / 1.8 GB, free: 253.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,NightSignal.y,$PRE.NightSignal.pulseStart,NightSignal.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005029/3.024, allocations: 299.1 kB / 1.8 GB, free: 252.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/3.025, allocations: 65.19 kB / 1.8 GB, free: 252.9 MB / 0.948 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too few equations, under-determined system. The model has 38 equation(s) and 40 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008746/3.025, allocations: 392.1 kB / 1.801 GB, free: 252.9 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.