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/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/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.001059/0.001059, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.0102/0.0102, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2322/0.2322, allocations: 12.04 MB / 303.5 MB, free: 1.641 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0001936/0.0001937, allocations: 15.86 kB / 357.5 MB, free: 3.082 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 2.079/2.079, allocations: 270.9 MB / 0.6665 GB, free: 15.26 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006198/0.0006198, allocations: 17.12 kB / 0.7881 GB, free: 31.41 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2688, allocations: 111 MB / 0.8964 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.02254/0.2914, allocations: 18.6 MB / 0.9146 GB, free: 9.773 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.007359/0.2988, allocations: 4.975 MB / 0.9195 GB, free: 4.785 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006656/0.2995, allocations: 15.88 kB / 0.9195 GB, free: 4.77 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0009916/0.3005, allocations: 322.7 kB / 0.9198 GB, free: 4.453 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.3024, allocations: 0.6882 MB / 0.9205 GB, free: 3.762 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.00189/0.3043, allocations: 0.6265 MB / 0.9211 GB, free: 3.141 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.001848/0.3062, allocations: 1.469 MB / 0.9225 GB, free: 1.668 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/0.3067, allocations: 321.1 kB / 0.9228 GB, free: 1.348 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008948/0.3076, allocations: 466 kB / 0.9233 GB, free: 0.8906 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005488/0.3082, allocations: 422.3 kB / 0.9237 GB, free: 488 kB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.3082, allocations: 24 kB / 0.9237 GB, free: 464 kB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.3099, allocations: 0.776 MB / 0.9244 GB, free: 15.68 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.3101, allocations: 179.3 kB / 0.9246 GB, free: 15.5 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.3105, allocations: 339.8 kB / 0.9249 GB, free: 15.16 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.3119, allocations: 1.09 MB / 0.926 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3119, allocations: 0 / 0.926 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.534e-06/0.3119, allocations: 0 / 0.926 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3119, allocations: 4 kB / 0.926 GB, free: 14.06 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.001915/0.3139, allocations: 0.9615 MB / 0.9269 GB, free: 13.05 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3139, allocations: 8.594 kB / 0.9269 GB, free: 13.04 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.3141, allocations: 72.09 kB / 0.927 GB, free: 12.97 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.3152, allocations: 0.6707 MB / 0.9277 GB, free: 12.26 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/0.3153, allocations: 50.08 kB / 0.9277 GB, free: 12.2 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.3154, allocations: 28 kB / 0.9277 GB, free: 12.18 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005467/0.3159, allocations: 271.2 kB / 0.928 GB, free: 11.9 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3159, allocations: 0 / 0.928 GB, free: 11.9 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.316, allocations: 12 kB / 0.928 GB, free: 11.89 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.316, allocations: 8 kB / 0.928 GB, free: 11.88 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006748/0.3167, allocations: 281.5 kB / 0.9283 GB, free: 11.61 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.002898/0.3196, allocations: 1.66 MB / 0.9299 GB, free: 9.785 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008014/0.3204, allocations: 270.7 kB / 0.9302 GB, free: 9.512 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.3207, allocations: 120.7 kB / 0.9303 GB, free: 9.391 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002137/0.3229, allocations: 1.472 MB / 0.9317 GB, free: 7.707 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003237/0.3232, allocations: 164 kB / 0.9319 GB, free: 7.535 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001514/0.3234, allocations: 31.83 kB / 0.9319 GB, free: 7.504 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 2.014e-06/0.3234, allocations: 0 / 0.9319 GB, free: 7.504 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.006031/0.3294, allocations: 1.075 MB / 0.933 GB, free: 6.402 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.3295, allocations: 59.39 kB / 0.933 GB, free: 6.332 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.3307, allocations: 0.9105 MB / 0.9339 GB, free: 5.41 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.3308, allocations: 25.7 kB / 0.9339 GB, free: 5.379 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.3311, allocations: 300.5 kB / 0.9342 GB, free: 5.082 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.3311, allocations: 82.84 kB / 0.9343 GB, free: 5 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.3312, allocations: 21.7 kB / 0.9343 GB, free: 4.973 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.3314, allocations: 318 kB / 0.9346 GB, free: 4.656 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.3316, allocations: 76.42 kB / 0.9347 GB, free: 4.582 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.3318, allocations: 150.3 kB / 0.9348 GB, free: 4.402 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.3322, allocations: 215.2 kB / 0.935 GB, free: 4.176 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3322, allocations: 0 / 0.935 GB, free: 4.176 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002616/0.3349, allocations: 0.5481 MB / 0.9356 GB, free: 3.617 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.335, allocations: 132.3 kB / 0.9357 GB, free: 3.469 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.335, allocations: 4 kB / 0.9357 GB, free: 3.465 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/0.3373, allocations: 356.5 kB / 0.936 GB, free: 3.113 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3374, allocations: 23.98 kB / 0.9361 GB, free: 3.09 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004001/0.3415, allocations: 6.352 MB / 0.9423 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/0.3421, allocations: 36.03 kB / 0.9423 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.3421, allocations: 12 kB / 0.9423 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.325e-05/0.3422, allocations: 7.938 kB / 0.9423 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002543/0.3448, allocations: 476.2 kB / 0.9428 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3448, allocations: 0 / 0.9428 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001831/0.3466, allocations: 292.6 kB / 0.9431 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.3467, allocations: 27.92 kB / 0.9431 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00353/0.3503, allocations: 6.33 MB / 0.9493 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.3508, allocations: 37.16 kB / 0.9493 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.3509, allocations: 16 kB / 0.9493 GB, free: 4.699 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.0004448/0.3513, allocations: 297 kB / 0.9496 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.3514, allocations: 67.19 kB / 0.9497 GB, free: 4.332 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.0007408/0.3522, allocations: 391.5 kB / 0.95 GB, free: 3.961 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.