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/ModelicaServices 4.0.0+maint.om/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/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) 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 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 89.81 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009771/0.009772, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1797/0.1797, allocations: 12.01 MB / 303.4 MB, free: 1.637 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000228/0.0002281, allocations: 19.89 kB / 357.5 MB, free: 3.09 MB / 286.1 MB [/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.946/1.946, allocations: 266.8 MB / 0.6625 GB, free: 3.152 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005991/0.0005992, allocations: 15.47 kB / 0.7833 GB, free: 32.38 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2677, allocations: 110.2 MB / 0.8909 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.0203/0.288, allocations: 18.59 MB / 0.909 GB, free: 14.83 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.007831/0.2959, allocations: 4.985 MB / 0.9139 GB, free: 9.836 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007768/0.2967, allocations: 11.94 kB / 0.9139 GB, free: 9.824 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.2979, allocations: 314.6 kB / 0.9142 GB, free: 9.516 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.2999, allocations: 0.6922 MB / 0.9149 GB, free: 8.82 MB / 0.6232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/Year2021/Fluid/Movers/Pump.mo:39:3-39:48:writable] Warning: Conditional component ‘V_flow‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/Year2021/Fluid/Movers/Pump.mo:49:7-49:152:writable] Warning: Conditional component ‘V_flow‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.3018, allocations: 0.6273 MB / 0.9155 GB, free: 8.203 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.001973/0.3038, allocations: 1.48 MB / 0.917 GB, free: 6.719 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.3044, allocations: 329.1 kB / 0.9173 GB, free: 6.391 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.3054, allocations: 470 kB / 0.9177 GB, free: 5.93 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006027/0.306, allocations: 410.4 kB / 0.9181 GB, free: 5.527 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 6.098e-05/0.3061, allocations: 24 kB / 0.9181 GB, free: 5.504 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.3081, allocations: 0.7837 MB / 0.9189 GB, free: 4.719 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.3083, allocations: 179.3 kB / 0.9191 GB, free: 4.543 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.3087, allocations: 331.9 kB / 0.9194 GB, free: 4.211 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.3104, allocations: 1.09 MB / 0.9204 GB, free: 3.117 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3104, allocations: 3.938 kB / 0.9204 GB, free: 3.113 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3104, allocations: 0 / 0.9204 GB, free: 3.113 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3104, allocations: 0 / 0.9204 GB, free: 3.113 MB / 0.6232 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.002005/0.3124, allocations: 0.9577 MB / 0.9214 GB, free: 2.105 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3125, allocations: 8.031 kB / 0.9214 GB, free: 2.098 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.3126, allocations: 72.09 kB / 0.9215 GB, free: 2.027 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.3137, allocations: 0.6746 MB / 0.9221 GB, free: 1.309 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.3138, allocations: 50.08 kB / 0.9222 GB, free: 1.254 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.3139, allocations: 20 kB / 0.9222 GB, free: 1.234 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.3144, allocations: 283.1 kB / 0.9225 GB, free: 0.9531 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3144, allocations: 0 / 0.9225 GB, free: 0.9531 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.3144, allocations: 4 kB / 0.9225 GB, free: 0.9492 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3144, allocations: 8 kB / 0.9225 GB, free: 0.9414 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.315, allocations: 277.6 kB / 0.9227 GB, free: 0.6719 MB / 0.6232 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.002162/0.3171, allocations: 1.66 MB / 0.9244 GB, free: 14.85 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000775/0.3179, allocations: 271.6 kB / 0.9246 GB, free: 14.57 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.3181, allocations: 128.7 kB / 0.9247 GB, free: 14.45 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00151/0.3197, allocations: 1.476 MB / 0.9262 GB, free: 12.76 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.32, allocations: 151.3 kB / 0.9263 GB, free: 12.6 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001561/0.3202, allocations: 35.83 kB / 0.9264 GB, free: 12.56 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 2.615e-06/0.3202, allocations: 0 / 0.9264 GB, free: 12.56 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.006094/0.3263, allocations: 1.079 MB / 0.9274 GB, free: 11.46 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.3263, allocations: 55.34 kB / 0.9275 GB, free: 11.39 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.3275, allocations: 0.9028 MB / 0.9283 GB, free: 10.48 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/0.3276, allocations: 37.7 kB / 0.9284 GB, free: 10.43 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.328, allocations: 300.5 kB / 0.9287 GB, free: 10.14 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.3281, allocations: 74.84 kB / 0.9287 GB, free: 10.06 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.508e-05/0.3282, allocations: 29.7 kB / 0.9288 GB, free: 10.03 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3283, allocations: 318 kB / 0.9291 GB, free: 9.711 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.3285, allocations: 68.44 kB / 0.9291 GB, free: 9.645 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.3289, allocations: 167.9 kB / 0.9293 GB, free: 9.449 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.3293, allocations: 199.1 kB / 0.9295 GB, free: 9.238 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3293, allocations: 4 kB / 0.9295 GB, free: 9.234 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002679/0.332, allocations: 0.5636 MB / 0.93 GB, free: 8.66 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.3321, allocations: 123.8 kB / 0.9302 GB, free: 8.52 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3321, allocations: 4 kB / 0.9302 GB, free: 8.516 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/0.3345, allocations: 344.5 kB / 0.9305 GB, free: 8.176 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3346, allocations: 27.92 kB / 0.9305 GB, free: 8.148 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.3381, allocations: 6.354 MB / 0.9367 GB, free: 1.387 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.3386, allocations: 34.66 kB / 0.9368 GB, free: 1.355 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.3387, allocations: 16 kB / 0.9368 GB, free: 1.34 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.3387, allocations: 9.656 kB / 0.9368 GB, free: 1.332 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002446/0.3412, allocations: 468.2 kB / 0.9372 GB, free: 0.8711 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3412, allocations: 4 kB / 0.9372 GB, free: 0.8672 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.343, allocations: 292.6 kB / 0.9375 GB, free: 0.5781 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3431, allocations: 23.98 kB / 0.9375 GB, free: 0.5547 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.3462, allocations: 6.338 MB / 0.9437 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006826/0.3469, allocations: 35.81 kB / 0.9438 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.3469, allocations: 11.98 kB / 0.9438 GB, free: 9.758 MB / 0.6544 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.pulseStart,$PRE.NightSignal.pulseStart,NightSignal.y) * 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005515/0.3475, allocations: 305.1 kB / 0.9441 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3476, allocations: 59.25 kB / 0.9441 GB, free: 9.391 MB / 0.6544 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.0008023/0.3484, allocations: 392.7 kB / 0.9445 GB, free: 9.023 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.