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/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-master/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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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-master/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_latest_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_latest_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.001079/0.001079, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.2048/0.2048, allocations: 12.04 MB / 304.1 MB, free: 1.68 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002466/0.0002469, allocations: 23.55 kB / 358.2 MB, free: 3.113 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-development/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.4.0-development/package.mo): time 1.945/1.945, allocations: 270.9 MB / 0.6672 GB, free: 15.28 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.0005188, allocations: 16.44 kB / 0.7887 GB, free: 31.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2668, allocations: 111 MB / 0.8971 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.01969/0.2865, allocations: 18.59 MB / 0.9153 GB, free: 9.801 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.007937/0.2945, allocations: 4.991 MB / 0.9201 GB, free: 4.801 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007477/0.2953, allocations: 7.938 kB / 0.9201 GB, free: 4.793 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.2964, allocations: 318.6 kB / 0.9205 GB, free: 4.48 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.2986, allocations: 0.6922 MB / 0.9211 GB, free: 3.785 MB / 0.6232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.00214/0.3007, allocations: 0.6298 MB / 0.9217 GB, free: 3.16 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.002117/0.3028, allocations: 1.468 MB / 0.9232 GB, free: 1.688 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006935/0.3036, allocations: 329.1 kB / 0.9235 GB, free: 1.359 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.3046, allocations: 473.9 kB / 0.9239 GB, free: 0.8945 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005734/0.3052, allocations: 414.4 kB / 0.9243 GB, free: 500 kB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.3053, allocations: 28 kB / 0.9244 GB, free: 472 kB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.307, allocations: 0.7798 MB / 0.9251 GB, free: 15.68 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.3073, allocations: 179.3 kB / 0.9253 GB, free: 15.5 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0003698/0.3077, allocations: 331.9 kB / 0.9256 GB, free: 15.17 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.309, allocations: 0.8224 MB / 0.9264 GB, free: 14.35 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.309, allocations: 0 / 0.9264 GB, free: 14.35 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3091, allocations: 0 / 0.9264 GB, free: 14.35 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.3091, allocations: 0 / 0.9264 GB, free: 14.35 MB / 0.6388 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.001999/0.3111, allocations: 0.9576 MB / 0.9274 GB, free: 13.34 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.3111, allocations: 8.594 kB / 0.9274 GB, free: 13.33 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.3113, allocations: 76.09 kB / 0.9274 GB, free: 13.26 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.3125, allocations: 0.6745 MB / 0.9281 GB, free: 12.54 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.398e-05/0.3126, allocations: 46.14 kB / 0.9281 GB, free: 12.49 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.3126, allocations: 24 kB / 0.9282 GB, free: 12.46 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/0.3132, allocations: 279.1 kB / 0.9284 GB, free: 12.18 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3132, allocations: 0 / 0.9284 GB, free: 12.18 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.3133, allocations: 12 kB / 0.9284 GB, free: 12.17 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3133, allocations: 8 kB / 0.9284 GB, free: 12.16 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005431/0.3138, allocations: 281.5 kB / 0.9287 GB, free: 11.89 MB / 0.6388 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.002323/0.3162, allocations: 1.652 MB / 0.9303 GB, free: 10.07 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/0.317, allocations: 270.7 kB / 0.9306 GB, free: 9.801 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.3173, allocations: 120.7 kB / 0.9307 GB, free: 9.68 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001692/0.319, allocations: 1.476 MB / 0.9321 GB, free: 7.992 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.3193, allocations: 167.8 kB / 0.9323 GB, free: 7.816 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001512/0.3194, allocations: 35.83 kB / 0.9323 GB, free: 7.781 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 2.635e-06/0.3195, allocations: 0 / 0.9323 GB, free: 7.781 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.006194/0.3257, allocations: 1.071 MB / 0.9334 GB, free: 6.684 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.3258, allocations: 55.41 kB / 0.9334 GB, free: 6.617 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.3271, allocations: 0.9028 MB / 0.9343 GB, free: 5.703 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.3272, allocations: 33.7 kB / 0.9343 GB, free: 5.664 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.3275, allocations: 300.5 kB / 0.9346 GB, free: 5.367 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.3275, allocations: 70.86 kB / 0.9347 GB, free: 5.297 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.3276, allocations: 29.7 kB / 0.9347 GB, free: 5.262 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3277, allocations: 318 kB / 0.935 GB, free: 4.945 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3279, allocations: 72.44 kB / 0.9351 GB, free: 4.875 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.3281, allocations: 150.3 kB / 0.9352 GB, free: 4.695 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.3285, allocations: 226.8 kB / 0.9355 GB, free: 4.457 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3285, allocations: 0 / 0.9355 GB, free: 4.457 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002604/0.3311, allocations: 0.5559 MB / 0.936 GB, free: 3.891 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.3312, allocations: 122.6 kB / 0.9361 GB, free: 3.75 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3313, allocations: 4 kB / 0.9361 GB, free: 3.746 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/0.3336, allocations: 356.5 kB / 0.9365 GB, free: 3.395 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3337, allocations: 27.98 kB / 0.9365 GB, free: 3.367 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003791/0.3375, allocations: 6.352 MB / 0.9427 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.3381, allocations: 36 kB / 0.9427 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.3381, allocations: 8 kB / 0.9427 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3382, allocations: 4 kB / 0.9427 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002434/0.3406, allocations: 482.6 kB / 0.9432 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3406, allocations: 4 kB / 0.9432 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.3424, allocations: 280.6 kB / 0.9435 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3425, allocations: 31.92 kB / 0.9435 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/0.3462, allocations: 6.331 MB / 0.9497 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/0.3468, allocations: 31.88 kB / 0.9497 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.3469, allocations: 16.12 kB / 0.9497 GB, free: 4.988 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.0005408/0.3474, allocations: 301 kB / 0.95 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3476, allocations: 59.25 kB / 0.9501 GB, free: 4.625 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.001214/0.3488, allocations: 386 kB / 0.9504 GB, free: 4.262 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.