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/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/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/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/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/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_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/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/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/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/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/package.mo): time 1.51/1.51, allocations: 266.7 MB / 281.7 MB, free: 5.609 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.001094/0.001094, allocations: 189.6 kB / 339.4 MB, free: 2.812 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.256/1.256, allocations: 223.2 MB / 0.6056 GB, free: 1.836 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.0009174/0.0009174, allocations: 98.53 kB / 0.7111 GB, free: 6.301 MB / 490.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.4179/0.4179, allocations: 12.02 MB / 0.8282 GB, free: 67.41 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.000357/0.000357, allocations: 17.59 kB / 0.9365 GB, free: 13.92 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.0005672/0.0005674, allocations: 23.98 kB / 1.057 GB, free: 2.473 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5616/0.5622, allocations: 110.2 MB / 1.165 GB, free: 160.1 MB / 0.7449 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8862/1.448, allocations: 382.3 MB / 1.538 GB, free: 101.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/1.449, allocations: 87.86 kB / 1.538 GB, free: 101.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.024/2.473, allocations: 243.3 MB / 1.776 GB, free: 270.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.223e-06/2.473, allocations: 0 / 1.776 GB, free: 270.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.371e-05/2.473, allocations: 20.53 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.002275/2.475, allocations: 1.062 MB / 1.777 GB, free: 269.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/2.475, allocations: 9.922 kB / 1.777 GB, free: 269.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/2.475, allocations: 80.8 kB / 1.777 GB, free: 269.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/2.477, allocations: 0.689 MB / 1.777 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/2.477, allocations: 45.77 kB / 1.777 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.416e-05/2.477, allocations: 28.8 kB / 1.777 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/2.477, allocations: 311.6 kB / 1.778 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/2.477, allocations: 4.375 kB / 1.778 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/2.477, allocations: 8.219 kB / 1.778 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/2.477, allocations: 8.219 kB / 1.778 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005751/2.478, allocations: 292.1 kB / 1.778 GB, free: 269.4 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.002491/2.481, allocations: 1.674 MB / 1.78 GB, free: 268.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005551/2.481, allocations: 224.8 kB / 1.78 GB, free: 268.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001634/2.483, allocations: 1.513 MB / 1.781 GB, free: 267.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/2.483, allocations: 160.4 kB / 1.782 GB, free: 267.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001874/2.483, allocations: 37.17 kB / 1.782 GB, free: 267.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/2.483, allocations: 1.5 kB / 1.782 GB, free: 267.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.004892/2.488, allocations: 1.106 MB / 1.783 GB, free: 267.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/2.488, allocations: 54.45 kB / 1.783 GB, free: 267.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/2.489, allocations: 0.8159 MB / 1.784 GB, free: 266.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/2.49, allocations: 30.86 kB / 1.784 GB, free: 266.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/2.49, allocations: 295.5 kB / 1.784 GB, free: 266.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/2.49, allocations: 78.97 kB / 1.784 GB, free: 266.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/2.49, allocations: 9.188 kB / 1.784 GB, free: 266.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.672e-05/2.49, allocations: 316.6 kB / 1.784 GB, free: 266.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/2.49, allocations: 65.69 kB / 1.784 GB, free: 266.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/2.49, allocations: 164 kB / 1.784 GB, free: 266.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/2.49, allocations: 83.81 kB / 1.785 GB, free: 266.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/2.49, allocations: 0.7188 kB / 1.785 GB, free: 266.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002203/2.493, allocations: 0.5835 MB / 1.785 GB, free: 266.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/2.493, allocations: 0.5308 MB / 1.786 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/2.493, allocations: 7.016 kB / 1.786 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/2.495, allocations: 324.1 kB / 1.786 GB, free: 265.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/2.495, allocations: 32 kB / 1.786 GB, free: 265.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/2.497, allocations: 6.338 MB / 1.792 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/2.497, allocations: 36.03 kB / 1.792 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/2.498, allocations: 17.2 kB / 1.792 GB, free: 259.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/2.498, allocations: 5.688 kB / 1.792 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002088/2.5, allocations: 0.4956 MB / 1.793 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/2.5, allocations: 5.422 kB / 1.793 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/2.501, allocations: 298.2 kB / 1.793 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/2.501, allocations: 28.09 kB / 1.793 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/2.503, allocations: 6.332 MB / 1.799 GB, free: 253.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/2.504, allocations: 35.31 kB / 1.799 GB, free: 253.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/2.504, allocations: 13.59 kB / 1.799 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.0004663/2.504, allocations: 297.5 kB / 1.8 GB, free: 252.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/2.504, allocations: 64.78 kB / 1.8 GB, free: 252.8 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.0007685/2.505, allocations: 388.7 kB / 1.8 GB, free: 252.8 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.