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/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-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/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/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/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/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_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/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/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/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-development/package.mo): time 1.865/1.865, allocations: 265.1 MB / 272.6 MB, free: 8.465 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.001073/0.001073, allocations: 176.9 kB / 330.1 MB, free: 15.99 MB / 282.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.5 MB / 0.5946 GB, free: 14.14 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.0008931/0.000893, allocations: 107.8 kB / 0.6998 GB, free: 2.27 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05132/0.05133, allocations: 11.89 MB / 0.8165 GB, free: 65.21 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.0003363/0.0003363, allocations: 23.86 kB / 0.9245 GB, free: 87.08 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.755e-05, allocations: 0 / 1.04 GB, free: 8.652 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2773, allocations: 110.2 MB / 1.147 GB, free: 10.32 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.381, allocations: 381.6 MB / 1.52 GB, free: 7.422 MB / 0.9168 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/1.382, allocations: 84.22 kB / 1.52 GB, free: 7.383 MB / 0.9168 GB Notification: Performance of FrontEnd - DAE generated: time 1.143/2.524, allocations: 241.5 MB / 1.756 GB, free: 168.7 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.733e-06/2.524, allocations: 0 / 1.756 GB, free: 168.7 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 4.873e-05/2.525, allocations: 16 kB / 1.756 GB, free: 168.7 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.001456/2.526, allocations: 0.877 MB / 1.757 GB, free: 167.8 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/2.526, allocations: 8.031 kB / 1.757 GB, free: 167.8 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/2.526, allocations: 80.09 kB / 1.757 GB, free: 167.7 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/2.527, allocations: 0.6906 MB / 1.758 GB, free: 167 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/2.527, allocations: 42.08 kB / 1.758 GB, free: 167 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/2.527, allocations: 12 kB / 1.758 GB, free: 167 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004126/2.528, allocations: 276.8 kB / 1.758 GB, free: 166.7 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/2.528, allocations: 254 kB / 1.758 GB, free: 166.4 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/2.528, allocations: 0 / 1.758 GB, free: 166.4 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/2.528, allocations: 4 kB / 1.758 GB, free: 166.4 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/2.528, allocations: 4 kB / 1.758 GB, free: 166.4 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.00173/2.53, allocations: 1.613 MB / 1.76 GB, free: 164.7 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/2.53, allocations: 218.7 kB / 1.76 GB, free: 164.4 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/2.531, allocations: 116.8 kB / 1.76 GB, free: 164.3 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/2.532, allocations: 1.523 MB / 1.761 GB, free: 162.6 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/2.532, allocations: 154 kB / 1.762 GB, free: 162.4 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001457/2.532, allocations: 31.78 kB / 1.762 GB, free: 162.4 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/2.532, allocations: 4 kB / 1.762 GB, free: 162.4 MB / 0.9324 GB Notification: Performance of matching and sorting (n=23): time 0.002976/2.535, allocations: 0.7002 MB / 1.762 GB, free: 161.7 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/2.535, allocations: 59.34 kB / 1.762 GB, free: 161.6 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000805/2.536, allocations: 0.7575 MB / 1.763 GB, free: 160.9 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/2.536, allocations: 25.7 kB / 1.763 GB, free: 160.8 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/2.536, allocations: 300.3 kB / 1.763 GB, free: 160.5 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/2.536, allocations: 74.91 kB / 1.763 GB, free: 160.5 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/2.536, allocations: 7.938 kB / 1.763 GB, free: 160.4 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/2.536, allocations: 317.9 kB / 1.764 GB, free: 160.1 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/2.537, allocations: 64.45 kB / 1.764 GB, free: 160.1 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/2.537, allocations: 143 kB / 1.764 GB, free: 159.9 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/2.538, allocations: 264.9 kB / 1.764 GB, free: 159.6 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/2.538, allocations: 0 / 1.764 GB, free: 159.6 MB / 0.9324 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002958/2.541, allocations: 0.7472 MB / 1.765 GB, free: 158.9 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/2.541, allocations: 0.53 MB / 1.766 GB, free: 158.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/2.541, allocations: 0 / 1.766 GB, free: 158.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009965/2.542, allocations: 226 kB / 1.766 GB, free: 158.1 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.883e-05/2.542, allocations: 35.92 kB / 1.766 GB, free: 158.1 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/2.544, allocations: 6.312 MB / 1.772 GB, free: 151.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/2.545, allocations: 27.91 kB / 1.772 GB, free: 151.3 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/2.545, allocations: 15.98 kB / 1.772 GB, free: 151.3 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/2.545, allocations: 4 kB / 1.772 GB, free: 151.3 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002645/2.548, allocations: 0.6229 MB / 1.773 GB, free: 150.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/2.548, allocations: 8.094 kB / 1.773 GB, free: 150.7 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009704/2.549, allocations: 240.6 kB / 1.773 GB, free: 150.4 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/2.549, allocations: 27.98 kB / 1.773 GB, free: 150.4 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/2.551, allocations: 6.27 MB / 1.779 GB, free: 143.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/2.551, allocations: 32.08 kB / 1.779 GB, free: 143.8 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/2.551, allocations: 19.98 kB / 1.779 GB, free: 143.7 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.0001323/2.551, allocations: 108.8 kB / 1.779 GB, free: 143.6 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/2.552, allocations: 63.16 kB / 1.779 GB, free: 143.6 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.001222/2.553, allocations: 448.2 kB / 1.78 GB, free: 143.1 MB / 0.9324 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.