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.599/1.599, allocations: 264.5 MB / 277.1 MB, free: 4.367 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.001018/0.001018, allocations: 180.9 kB / 334.6 MB, free: 11.51 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.214/1.214, allocations: 221.3 MB / 0.5989 GB, free: 10.24 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.0009171/0.0009173, allocations: 98.81 kB / 0.7042 GB, free: 51.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.05153/0.05153, allocations: 11.87 MB / 0.821 GB, free: 0.5273 MB / 0.573 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.0002987/0.0002987, allocations: 8 kB / 0.9292 GB, free: 1.688 MB / 0.6824 GB Warning: Requested package SDF of version 0.4.2, but this package was already loaded with version 0.0.0. You might experience problems if these versions are incompatible. Notification: Performance of FrontEnd - loaded program: time 4.882e-05/4.883e-05, allocations: 11.98 kB / 1.046 GB, free: 251.1 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1985, allocations: 110.2 MB / 1.154 GB, free: 141.1 MB / 0.7293 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8344/1.033, allocations: 382.2 MB / 1.527 GB, free: 9.34 MB / 0.8387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.033, allocations: 78.09 kB / 1.527 GB, free: 9.305 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 0.9606/1.994, allocations: 242.7 MB / 1.764 GB, free: 275.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.31e-07/1.994, allocations: 4 kB / 1.764 GB, free: 275.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.551e-05/1.994, allocations: 15.44 kB / 1.764 GB, free: 275.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.001653/1.996, allocations: 0.8803 MB / 1.765 GB, free: 274.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.996, allocations: 16.03 kB / 1.765 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/1.996, allocations: 77.47 kB / 1.765 GB, free: 274.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/1.997, allocations: 0.6868 MB / 1.766 GB, free: 273.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/1.997, allocations: 46.08 kB / 1.766 GB, free: 273.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/1.998, allocations: 27.95 kB / 1.766 GB, free: 273.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/1.998, allocations: 309.8 kB / 1.766 GB, free: 273.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.998, allocations: 0 / 1.766 GB, free: 273.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/1.998, allocations: 8 kB / 1.766 GB, free: 273.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/1.998, allocations: 11.92 kB / 1.766 GB, free: 273.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/1.998, allocations: 285.7 kB / 1.767 GB, free: 272.9 MB / 0.948 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.001992/2, allocations: 1.659 MB / 1.768 GB, free: 271.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/2.001, allocations: 222.1 kB / 1.768 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/2.001, allocations: 120.8 kB / 1.769 GB, free: 270.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/2.002, allocations: 1.536 MB / 1.77 GB, free: 269 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/2.003, allocations: 157.8 kB / 1.77 GB, free: 268.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001975/2.003, allocations: 43.81 kB / 1.77 GB, free: 268.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 3.005e-06/2.003, allocations: 0 / 1.77 GB, free: 268.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.001901/2.005, allocations: 0.5392 MB / 1.771 GB, free: 268.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/2.005, allocations: 63.39 kB / 1.771 GB, free: 268.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008913/2.006, allocations: 0.8043 MB / 1.772 GB, free: 267.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/2.006, allocations: 33.7 kB / 1.772 GB, free: 267.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/2.006, allocations: 302.4 kB / 1.772 GB, free: 267.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/2.006, allocations: 73.84 kB / 1.772 GB, free: 267 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/2.006, allocations: 4 kB / 1.772 GB, free: 267 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.201e-05/2.006, allocations: 321.9 kB / 1.772 GB, free: 266.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/2.006, allocations: 68.39 kB / 1.772 GB, free: 266.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/2.006, allocations: 157.6 kB / 1.773 GB, free: 266.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/2.006, allocations: 81.45 kB / 1.773 GB, free: 266.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/2.006, allocations: 4 kB / 1.773 GB, free: 266.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001863/2.008, allocations: 0.5794 MB / 1.773 GB, free: 265.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/2.008, allocations: 0.5347 MB / 1.774 GB, free: 265.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/2.008, allocations: 7.984 kB / 1.774 GB, free: 265.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/2.01, allocations: 319.4 kB / 1.774 GB, free: 264.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.694e-05/2.01, allocations: 27.98 kB / 1.774 GB, free: 264.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/2.012, allocations: 6.334 MB / 1.78 GB, free: 258.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/2.013, allocations: 32 kB / 1.78 GB, free: 258 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/2.013, allocations: 15.98 kB / 1.78 GB, free: 258 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/2.013, allocations: 9.469 kB / 1.78 GB, free: 258 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00171/2.014, allocations: 496.6 kB / 1.781 GB, free: 257.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/2.014, allocations: 0 / 1.781 GB, free: 257.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/2.016, allocations: 308.6 kB / 1.781 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/2.016, allocations: 27.98 kB / 1.781 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/2.017, allocations: 6.335 MB / 1.787 GB, free: 250.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/2.018, allocations: 32.09 kB / 1.787 GB, free: 250.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/2.018, allocations: 15.98 kB / 1.787 GB, free: 250.4 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 () * 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.0001015/2.018, allocations: 122.4 kB / 1.787 GB, free: 250.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/2.018, allocations: 67.16 kB / 1.788 GB, free: 250.2 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.0006658/2.019, allocations: 382 kB / 1.788 GB, free: 249.8 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.