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-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_AixLib_Obsolete_Year2021_Fluid_Examples_PumpHydraulicResistance_closedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,fileNamePrefix="AixLib_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.748/1.748, allocations: 265.1 MB / 272.6 MB, free: 8.543 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.001234/0.001234, allocations: 188.8 kB / 330.1 MB, free: 24 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.427/1.427, allocations: 221.5 MB / 0.5946 GB, free: 14.19 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.0009883/0.0009883, allocations: 99.16 kB / 0.6998 GB, free: 2.32 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05351/0.05351, allocations: 11.89 MB / 0.8165 GB, free: 65.24 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.0003293/0.0003292, allocations: 18.59 kB / 0.9245 GB, free: 87 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.09e-05, allocations: 4 kB / 1.04 GB, free: 8.582 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2622, allocations: 110.2 MB / 1.147 GB, free: 10.25 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/1.349, allocations: 381.6 MB / 1.52 GB, free: 7.195 MB / 0.9168 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/1.349, allocations: 83.17 kB / 1.52 GB, free: 7.156 MB / 0.9168 GB Notification: Performance of FrontEnd - DAE generated: time 1.118/2.467, allocations: 241.4 MB / 1.756 GB, free: 168.4 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.513e-06/2.467, allocations: 0 / 1.756 GB, free: 168.4 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 9.666e-05/2.467, allocations: 19.59 kB / 1.756 GB, free: 168.4 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.002188/2.469, allocations: 0.8887 MB / 1.757 GB, free: 167.5 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/2.469, allocations: 8.031 kB / 1.757 GB, free: 167.5 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/2.47, allocations: 72.19 kB / 1.757 GB, free: 167.4 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/2.471, allocations: 0.6944 MB / 1.758 GB, free: 166.7 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/2.471, allocations: 38.14 kB / 1.758 GB, free: 166.6 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/2.471, allocations: 12 kB / 1.758 GB, free: 166.6 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005176/2.472, allocations: 292.7 kB / 1.758 GB, free: 166.3 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/2.472, allocations: 246 kB / 1.758 GB, free: 166.1 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/2.472, allocations: 0 / 1.758 GB, free: 166.1 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/2.472, allocations: 4 kB / 1.758 GB, free: 166.1 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/2.472, allocations: 4 kB / 1.758 GB, free: 166.1 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.002198/2.474, allocations: 1.605 MB / 1.76 GB, free: 164.3 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/2.475, allocations: 222.6 kB / 1.76 GB, free: 164.1 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/2.475, allocations: 108.8 kB / 1.76 GB, free: 164 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001479/2.477, allocations: 1.527 MB / 1.762 GB, free: 162.3 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/2.477, allocations: 152 kB / 1.762 GB, free: 162.1 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002239/2.477, allocations: 23.88 kB / 1.762 GB, free: 162.1 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=23): time 1.933e-06/2.477, allocations: 4 kB / 1.762 GB, free: 162.1 MB / 0.9324 GB Notification: Performance of matching and sorting (n=23): time 0.003195/2.48, allocations: 0.7108 MB / 1.762 GB, free: 161.4 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/2.48, allocations: 55.41 kB / 1.762 GB, free: 161.3 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/2.481, allocations: 0.7574 MB / 1.763 GB, free: 160.5 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/2.481, allocations: 25.7 kB / 1.763 GB, free: 160.5 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/2.482, allocations: 308.2 kB / 1.764 GB, free: 160.2 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/2.482, allocations: 67.02 kB / 1.764 GB, free: 160.1 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/2.482, allocations: 0 / 1.764 GB, free: 160.1 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/2.482, allocations: 321.9 kB / 1.764 GB, free: 159.8 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/2.482, allocations: 64.45 kB / 1.764 GB, free: 159.8 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/2.482, allocations: 151 kB / 1.764 GB, free: 159.6 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/2.484, allocations: 260.6 kB / 1.764 GB, free: 159.3 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/2.484, allocations: 0 / 1.764 GB, free: 159.3 MB / 0.9324 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.003289/2.487, allocations: 0.7483 MB / 1.765 GB, free: 158.6 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/2.487, allocations: 0.5293 MB / 1.766 GB, free: 158 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/2.487, allocations: 0 / 1.766 GB, free: 158 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/2.488, allocations: 224.7 kB / 1.766 GB, free: 157.8 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/2.488, allocations: 31.98 kB / 1.766 GB, free: 157.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/2.491, allocations: 6.308 MB / 1.772 GB, free: 151.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007588/2.492, allocations: 31.84 kB / 1.772 GB, free: 151 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/2.492, allocations: 16.06 kB / 1.772 GB, free: 151 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/2.492, allocations: 5.562 kB / 1.772 GB, free: 151 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002745/2.495, allocations: 0.6302 MB / 1.773 GB, free: 150.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/2.495, allocations: 4 kB / 1.773 GB, free: 150.4 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/2.496, allocations: 242.5 kB / 1.773 GB, free: 150.1 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/2.496, allocations: 31.92 kB / 1.773 GB, free: 150.1 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/2.499, allocations: 6.27 MB / 1.779 GB, free: 143.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007397/2.5, allocations: 35.98 kB / 1.779 GB, free: 143.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/2.5, allocations: 16 kB / 1.779 GB, free: 143.4 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.0001601/2.5, allocations: 120.6 kB / 1.779 GB, free: 143.3 MB / 0.9324 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003184/2.503, allocations: 0.6847 MB / 1.78 GB, free: 142.6 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/2.503, allocations: 71.19 kB / 1.78 GB, free: 142.5 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.001341/2.505, allocations: 439.6 kB / 1.78 GB, free: 142.1 MB / 0.9324 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.