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: "" <> buildModelFMU(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,fileNamePrefix="AixLib_latest_AixLib_Obsolete_Year2021_Fluid_Examples_PumpHydraulicResistance_closedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,fileNamePrefix="AixLib_latest_AixLib_Obsolete_Year2021_Fluid_Examples_PumpHydraulicResistance_closedLoop",fmuType="me",version="2.0",platforms={"static"}) [/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.972/1.972, allocations: 265.1 MB / 272.6 MB, free: 8.488 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.001371/0.001371, 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.505/1.505, allocations: 221.5 MB / 0.5946 GB, free: 14.22 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.001083/0.001083, allocations: 95.84 kB / 0.6998 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.05468/0.05468, allocations: 11.9 MB / 0.8165 GB, free: 65.22 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.0004973/0.000497, allocations: 13.23 kB / 0.9245 GB, free: 87.26 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 2.145e-05/2.147e-05, allocations: 4 kB / 1.04 GB, free: 8.574 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2712, allocations: 110.2 MB / 1.147 GB, free: 10.24 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.341/1.612, allocations: 381.6 MB / 1.52 GB, free: 7.441 MB / 0.9168 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.613, allocations: 84.11 kB / 1.52 GB, free: 7.402 MB / 0.9168 GB Notification: Performance of FrontEnd - DAE generated: time 1.303/2.916, allocations: 241.4 MB / 1.756 GB, free: 168.8 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.994e-06/2.916, allocations: 0 / 1.756 GB, free: 168.8 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 9.445e-05/2.916, allocations: 19.83 kB / 1.756 GB, free: 168.8 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.002225/2.918, allocations: 0.8889 MB / 1.757 GB, free: 167.9 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/2.918, allocations: 8.031 kB / 1.757 GB, free: 167.9 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003698/2.919, allocations: 72.19 kB / 1.757 GB, free: 167.8 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/2.92, allocations: 0.6943 MB / 1.758 GB, free: 167.1 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-05/2.92, allocations: 42.14 kB / 1.758 GB, free: 167 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/2.92, allocations: 12 kB / 1.758 GB, free: 167 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004723/2.921, allocations: 276.8 kB / 1.758 GB, free: 166.8 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/2.921, allocations: 250 kB / 1.758 GB, free: 166.5 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/2.921, allocations: 0 / 1.758 GB, free: 166.5 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/2.921, allocations: 4 kB / 1.758 GB, free: 166.5 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/2.921, allocations: 4 kB / 1.758 GB, free: 166.5 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.002121/2.923, allocations: 1.609 MB / 1.76 GB, free: 164.7 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/2.924, allocations: 226.6 kB / 1.76 GB, free: 164.5 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/2.924, allocations: 108.8 kB / 1.76 GB, free: 164.4 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/2.926, allocations: 1.527 MB / 1.762 GB, free: 162.7 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/2.926, allocations: 153.3 kB / 1.762 GB, free: 162.5 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001904/2.926, allocations: 27.88 kB / 1.762 GB, free: 162.5 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=23): time 1.763e-06/2.926, allocations: 4 kB / 1.762 GB, free: 162.5 MB / 0.9324 GB Notification: Performance of matching and sorting (n=23): time 0.003054/2.929, allocations: 0.6981 MB / 1.762 GB, free: 161.8 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/2.929, allocations: 63.34 kB / 1.762 GB, free: 161.7 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/2.93, allocations: 0.7536 MB / 1.763 GB, free: 160.9 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/2.93, allocations: 25.7 kB / 1.763 GB, free: 160.9 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/2.93, allocations: 308.2 kB / 1.764 GB, free: 160.6 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/2.93, allocations: 67.02 kB / 1.764 GB, free: 160.5 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/2.93, allocations: 0 / 1.764 GB, free: 160.5 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 6.784e-05/2.93, allocations: 321.9 kB / 1.764 GB, free: 160.2 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-05/2.931, allocations: 64.45 kB / 1.764 GB, free: 160.2 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/2.931, allocations: 151 kB / 1.764 GB, free: 160 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/2.932, allocations: 256.9 kB / 1.764 GB, free: 159.7 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/2.932, allocations: 0 / 1.764 GB, free: 159.7 MB / 0.9324 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.003046/2.935, allocations: 0.7518 MB / 1.765 GB, free: 159 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/2.935, allocations: 0.539 MB / 1.766 GB, free: 158.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/2.935, allocations: 0 / 1.766 GB, free: 158.4 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009869/2.936, allocations: 218.1 kB / 1.766 GB, free: 158.2 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.339e-05/2.936, allocations: 31.98 kB / 1.766 GB, free: 158.1 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/2.939, allocations: 6.31 MB / 1.772 GB, free: 151.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/2.939, allocations: 36.02 kB / 1.772 GB, free: 151.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/2.939, allocations: 12 kB / 1.772 GB, free: 151.4 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/2.939, allocations: 4 kB / 1.772 GB, free: 151.4 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002637/2.942, allocations: 0.625 MB / 1.773 GB, free: 150.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/2.942, allocations: 4 kB / 1.773 GB, free: 150.8 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009733/2.943, allocations: 234.4 kB / 1.773 GB, free: 150.5 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.688e-05/2.943, allocations: 31.92 kB / 1.773 GB, free: 150.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/2.945, allocations: 6.281 MB / 1.779 GB, free: 143.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/2.945, allocations: 35.84 kB / 1.779 GB, free: 143.8 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/2.946, allocations: 16 kB / 1.779 GB, free: 143.8 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.0001263/2.946, allocations: 113.9 kB / 1.779 GB, free: 143.7 MB / 0.9324 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002759/2.948, allocations: 0.6886 MB / 1.78 GB, free: 143 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/2.949, allocations: 67.2 kB / 1.78 GB, free: 142.9 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.001135/2.95, allocations: 439.6 kB / 1.78 GB, free: 142.5 MB / 0.9324 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.