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.627/1.627, allocations: 264.9 MB / 277.5 MB, free: 4.25 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.001136/0.001136, allocations: 168.9 kB / 335 MB, free: 11.38 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.288/1.288, allocations: 221.3 MB / 0.5993 GB, free: 10.13 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.0008446/0.0008445, allocations: 90.02 kB / 0.7046 GB, free: 51.46 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05092/0.05092, allocations: 11.89 MB / 0.8215 GB, free: 484 kB / 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.0003031/0.0003029, allocations: 15.97 kB / 0.9296 GB, free: 1.625 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 5.129e-05/5.145e-05, allocations: 8.859 kB / 1.047 GB, free: 251 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1953, allocations: 110.2 MB / 1.155 GB, free: 141 MB / 0.7293 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8332/1.028, allocations: 382.2 MB / 1.528 GB, free: 9.258 MB / 0.8387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/1.029, allocations: 75.22 kB / 1.528 GB, free: 9.223 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 0.9599/1.989, allocations: 242.6 MB / 1.765 GB, free: 275.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.32e-07/1.989, allocations: 4 kB / 1.765 GB, free: 275.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.402e-05/1.989, allocations: 15.83 kB / 1.765 GB, free: 275.1 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.001815/1.991, allocations: 0.8893 MB / 1.766 GB, free: 274.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.991, allocations: 12.03 kB / 1.766 GB, free: 274.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.285e-05/1.991, allocations: 58.55 kB / 1.766 GB, free: 274.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/1.991, allocations: 77.47 kB / 1.766 GB, free: 274.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/1.992, allocations: 0.688 MB / 1.767 GB, free: 273.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/1.992, allocations: 54.09 kB / 1.767 GB, free: 273.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/1.992, allocations: 24 kB / 1.767 GB, free: 273.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/1.993, allocations: 305.7 kB / 1.767 GB, free: 272.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.993, allocations: 0 / 1.767 GB, free: 272.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/1.993, allocations: 19.94 kB / 1.767 GB, free: 272.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.993, allocations: 4 kB / 1.767 GB, free: 272.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/1.994, allocations: 281.7 kB / 1.767 GB, free: 272.6 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.002075/1.996, allocations: 1.668 MB / 1.769 GB, free: 270.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/1.996, allocations: 213.8 kB / 1.769 GB, free: 270.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/1.996, allocations: 120.8 kB / 1.769 GB, free: 270.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/1.998, allocations: 1.541 MB / 1.771 GB, free: 268.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/1.998, allocations: 151.7 kB / 1.771 GB, free: 268.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001814/1.998, allocations: 47.8 kB / 1.771 GB, free: 268.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 2.454e-06/1.998, allocations: 0 / 1.771 GB, free: 268.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.002299/2.001, allocations: 0.5392 MB / 1.771 GB, free: 268 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/2.001, allocations: 59.39 kB / 1.771 GB, free: 267.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009711/2.002, allocations: 0.8004 MB / 1.772 GB, free: 267.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/2.002, allocations: 33.7 kB / 1.772 GB, free: 267.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/2.002, allocations: 300.3 kB / 1.773 GB, free: 266.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/2.002, allocations: 82 kB / 1.773 GB, free: 266.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/2.002, allocations: 4 kB / 1.773 GB, free: 266.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.118e-05/2.002, allocations: 325.9 kB / 1.773 GB, free: 266.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/2.002, allocations: 60.45 kB / 1.773 GB, free: 266.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/2.002, allocations: 159.2 kB / 1.773 GB, free: 266.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/2.002, allocations: 77 kB / 1.773 GB, free: 266 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/2.002, allocations: 4 kB / 1.773 GB, free: 266 MB / 0.948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002259/2.005, allocations: 0.5768 MB / 1.774 GB, free: 265.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/2.005, allocations: 0.5332 MB / 1.774 GB, free: 264.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/2.005, allocations: 4 kB / 1.774 GB, free: 264.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/2.007, allocations: 328.5 kB / 1.775 GB, free: 264.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/2.007, allocations: 27.98 kB / 1.775 GB, free: 264.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/2.009, allocations: 6.331 MB / 1.781 GB, free: 257.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/2.009, allocations: 40.11 kB / 1.781 GB, free: 257.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/2.009, allocations: 16 kB / 1.781 GB, free: 257.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/2.009, allocations: 4 kB / 1.781 GB, free: 257.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001686/2.011, allocations: 493.5 kB / 1.781 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/2.011, allocations: 3.984 kB / 1.781 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/2.012, allocations: 306.5 kB / 1.782 GB, free: 256.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/2.012, allocations: 35.88 kB / 1.782 GB, free: 256.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/2.014, allocations: 6.321 MB / 1.788 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/2.014, allocations: 32.09 kB / 1.788 GB, free: 250.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/2.015, allocations: 15.98 kB / 1.788 GB, free: 250.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 () * 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.0001125/2.015, allocations: 120.9 kB / 1.788 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.267e-05/2.015, allocations: 67.16 kB / 1.788 GB, free: 249.9 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.0006829/2.015, allocations: 386 kB / 1.788 GB, free: 249.6 MB / 0.948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.