Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/package.mo) Running command: translateModel(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_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_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop") [/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. [/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/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/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/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/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_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/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/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/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. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.705/1.705, allocations: 264.7 MB / 272.2 MB, free: 8.617 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 184.8 kB / 329.6 MB, free: 164 kB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.5 MB / 0.5942 GB, free: 14.23 MB / 458.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009257/0.0009257, allocations: 95.81 kB / 0.6994 GB, free: 2.367 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05158/0.05158, allocations: 11.91 MB / 0.8161 GB, free: 65.28 MB / 0.5418 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.0003212/0.0003213, allocations: 19.39 kB / 0.9241 GB, free: 87.13 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.938e-05, allocations: 4 kB / 1.039 GB, free: 8.719 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2147, allocations: 110.2 MB / 1.147 GB, free: 10.4 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8313/1.046, allocations: 381.6 MB / 1.52 GB, free: 7.512 MB / 0.9168 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/1.046, allocations: 79.33 kB / 1.52 GB, free: 7.473 MB / 0.9168 GB Notification: Performance of FrontEnd - DAE generated: time 0.956/2.002, allocations: 241.5 MB / 1.755 GB, free: 169 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.323e-06/2.002, allocations: 0 / 1.755 GB, free: 169 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 8.644e-05/2.003, allocations: 19.94 kB / 1.755 GB, free: 169 MB / 0.9324 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.001719/2.004, allocations: 0.8771 MB / 1.756 GB, free: 168.1 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/2.004, allocations: 8.031 kB / 1.756 GB, free: 168.1 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/2.005, allocations: 80.09 kB / 1.756 GB, free: 168 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/2.006, allocations: 0.6975 MB / 1.757 GB, free: 167.2 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.722e-05/2.006, allocations: 34.14 kB / 1.757 GB, free: 167.2 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/2.006, allocations: 16 kB / 1.757 GB, free: 167.2 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004628/2.007, allocations: 276.8 kB / 1.757 GB, free: 166.9 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/2.007, allocations: 246 kB / 1.758 GB, free: 166.7 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/2.007, allocations: 0 / 1.758 GB, free: 166.7 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/2.007, allocations: 0 / 1.758 GB, free: 166.7 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/2.007, allocations: 8 kB / 1.758 GB, free: 166.7 MB / 0.9324 GB Warning: The model contains alias variables with conflicting start and/or 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.002075/2.009, allocations: 1.624 MB / 1.759 GB, free: 164.9 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/2.01, allocations: 210.8 kB / 1.759 GB, free: 164.7 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/2.01, allocations: 116.8 kB / 1.76 GB, free: 164.6 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/2.011, allocations: 1.523 MB / 1.761 GB, free: 162.8 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/2.011, allocations: 144 kB / 1.761 GB, free: 162.7 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001966/2.012, allocations: 35.62 kB / 1.761 GB, free: 162.7 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/2.012, allocations: 0 / 1.761 GB, free: 162.7 MB / 0.9324 GB Notification: Performance of matching and sorting (n=23): time 0.003266/2.015, allocations: 0.7051 MB / 1.762 GB, free: 161.9 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/2.015, allocations: 55.41 kB / 1.762 GB, free: 161.9 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000948/2.016, allocations: 0.7575 MB / 1.763 GB, free: 161.1 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/2.016, allocations: 25.7 kB / 1.763 GB, free: 161.1 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/2.016, allocations: 300.3 kB / 1.763 GB, free: 160.8 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/2.016, allocations: 78.91 kB / 1.763 GB, free: 160.7 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/2.016, allocations: 0 / 1.763 GB, free: 160.7 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 5.094e-05/2.016, allocations: 317.9 kB / 1.763 GB, free: 160.4 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/2.016, allocations: 64.45 kB / 1.763 GB, free: 160.3 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/2.016, allocations: 156.3 kB / 1.764 GB, free: 160.1 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/2.018, allocations: 255.8 kB / 1.764 GB, free: 159.9 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.018, allocations: 0 / 1.764 GB, free: 159.9 MB / 0.9324 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.003316/2.021, allocations: 0.752 MB / 1.765 GB, free: 159.1 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 9.817e-05/2.021, allocations: 0.5293 MB / 1.765 GB, free: 158.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/2.021, allocations: 0 / 1.765 GB, free: 158.6 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/2.022, allocations: 229.3 kB / 1.765 GB, free: 158.3 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/2.022, allocations: 31.92 kB / 1.765 GB, free: 158.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/2.025, allocations: 6.3 MB / 1.771 GB, free: 151.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/2.025, allocations: 36.03 kB / 1.772 GB, free: 151.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/2.025, allocations: 15.98 kB / 1.772 GB, free: 151.6 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/2.025, allocations: 4 kB / 1.772 GB, free: 151.6 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002904/2.028, allocations: 0.6235 MB / 1.772 GB, free: 150.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/2.028, allocations: 0 / 1.772 GB, free: 150.9 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/2.029, allocations: 249.4 kB / 1.772 GB, free: 150.7 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.598e-05/2.029, allocations: 27.97 kB / 1.772 GB, free: 150.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/2.031, allocations: 6.278 MB / 1.779 GB, free: 144 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/2.032, allocations: 27.92 kB / 1.779 GB, free: 144 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/2.032, allocations: 19.98 kB / 1.779 GB, free: 144 MB / 0.9324 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 () * 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.0001088/2.032, allocations: 116.8 kB / 1.779 GB, free: 143.9 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/2.032, allocations: 63.16 kB / 1.779 GB, free: 143.8 MB / 0.9324 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). Warning: Equation 32 (size: 2) $cse1 = AixLib.Fluid.Sources.Boundary_pT$PointFixedPressure.Medium.setState_pTX(PointFixedPressure.p_in_internal, PointFixedPressure.T, {PointFixedPressure.X_in_internal[1]}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse2 Already solved: Equations used to solve those variables: Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/2.033, allocations: 442.2 kB / 1.779 GB, free: 143.4 MB / 0.9324 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.