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.0008644/0.0008645, allocations: 99.5 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.0008156/0.0008156, allocations: 181.2 kB / 16.92 MB, free: 6.891 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.299/1.299, allocations: 223.3 MB / 241 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.188/0.188, allocations: 12.02 MB / 304.1 MB, free: 1.699 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002522/0.0002524, allocations: 23.61 kB / 358.2 MB, free: 3.082 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.782/1.782, allocations: 266.8 MB / 0.6632 GB, free: 3.199 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004751, allocations: 19.06 kB / 0.7839 GB, free: 32.45 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2368, allocations: 110.2 MB / 0.8915 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.01637/0.2532, allocations: 18.58 MB / 0.9096 GB, free: 14.89 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.006745/0.26, allocations: 4.989 MB / 0.9145 GB, free: 9.891 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005524/0.2606, allocations: 15.88 kB / 0.9145 GB, free: 9.875 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0009035/0.2615, allocations: 314.7 kB / 0.9148 GB, free: 9.566 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.2632, allocations: 0.695 MB / 0.9155 GB, free: 8.871 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.00172/0.265, allocations: 0.625 MB / 0.9161 GB, free: 8.25 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.001607/0.2666, allocations: 1.482 MB / 0.9176 GB, free: 6.766 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004546/0.2671, allocations: 317.1 kB / 0.9179 GB, free: 6.449 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007631/0.2678, allocations: 470 kB / 0.9183 GB, free: 5.988 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004727/0.2683, allocations: 414.4 kB / 0.9187 GB, free: 5.582 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.2684, allocations: 28 kB / 0.9187 GB, free: 5.555 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.2699, allocations: 0.7759 MB / 0.9195 GB, free: 4.777 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.2701, allocations: 187.3 kB / 0.9197 GB, free: 4.594 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.2704, allocations: 335.8 kB / 0.92 GB, free: 4.258 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0008713/0.2713, allocations: 0.8185 MB / 0.9208 GB, free: 3.438 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2713, allocations: 0 / 0.9208 GB, free: 3.438 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2713, allocations: 0 / 0.9208 GB, free: 3.438 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.2713, allocations: 0 / 0.9208 GB, free: 3.438 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.001637/0.273, allocations: 0.9615 MB / 0.9217 GB, free: 2.426 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.273, allocations: 12.03 kB / 0.9217 GB, free: 2.414 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.2731, allocations: 72.09 kB / 0.9218 GB, free: 2.344 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009994/0.2741, allocations: 0.6707 MB / 0.9225 GB, free: 1.629 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/0.2742, allocations: 46.14 kB / 0.9225 GB, free: 1.578 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.2743, allocations: 24 kB / 0.9225 GB, free: 1.555 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.2747, allocations: 275.1 kB / 0.9228 GB, free: 1.281 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2748, allocations: 4 kB / 0.9228 GB, free: 1.277 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.2748, allocations: 8 kB / 0.9228 GB, free: 1.27 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2748, allocations: 4 kB / 0.9228 GB, free: 1.266 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.2753, allocations: 281.5 kB / 0.9231 GB, free: 0.9922 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.002/0.2773, allocations: 1.656 MB / 0.9247 GB, free: 15.17 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007324/0.2781, allocations: 270.6 kB / 0.925 GB, free: 14.9 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.2783, allocations: 124.7 kB / 0.9251 GB, free: 14.77 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.2797, allocations: 1.484 MB / 0.9265 GB, free: 13.08 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.28, allocations: 156.9 kB / 0.9267 GB, free: 12.91 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001397/0.2801, allocations: 39.81 kB / 0.9267 GB, free: 12.88 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 2.555e-06/0.2801, allocations: 0 / 0.9267 GB, free: 12.88 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.00557/0.2857, allocations: 1.066 MB / 0.9278 GB, free: 11.78 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.2858, allocations: 55.41 kB / 0.9278 GB, free: 11.71 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009888/0.2868, allocations: 0.9067 MB / 0.9287 GB, free: 10.8 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.2868, allocations: 25.7 kB / 0.9287 GB, free: 10.77 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.287, allocations: 308.5 kB / 0.929 GB, free: 10.46 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.2871, allocations: 78.84 kB / 0.9291 GB, free: 10.38 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.2871, allocations: 25.7 kB / 0.9291 GB, free: 10.35 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.2872, allocations: 314 kB / 0.9294 GB, free: 10.04 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.2874, allocations: 76.44 kB / 0.9295 GB, free: 9.965 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.2876, allocations: 159.9 kB / 0.9296 GB, free: 9.777 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.2879, allocations: 203.1 kB / 0.9298 GB, free: 9.562 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2879, allocations: 4 kB / 0.9298 GB, free: 9.559 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002395/0.2903, allocations: 0.5622 MB / 0.9304 GB, free: 8.988 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-05/0.2904, allocations: 129.3 kB / 0.9305 GB, free: 8.84 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2904, allocations: 0 / 0.9305 GB, free: 8.84 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/0.2925, allocations: 348.4 kB / 0.9308 GB, free: 8.496 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.2927, allocations: 24.03 kB / 0.9309 GB, free: 8.473 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.2956, allocations: 6.364 MB / 0.9371 GB, free: 1.703 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.296, allocations: 31.88 kB / 0.9371 GB, free: 1.672 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.2961, allocations: 12.11 kB / 0.9371 GB, free: 1.66 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.2961, allocations: 8 kB / 0.9371 GB, free: 1.652 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00226/0.2984, allocations: 468.2 kB / 0.9376 GB, free: 1.191 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.2984, allocations: 0 / 0.9376 GB, free: 1.191 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/0.3001, allocations: 304.6 kB / 0.9379 GB, free: 0.8906 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.83e-05/0.3002, allocations: 23.98 kB / 0.9379 GB, free: 0.8672 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.303, allocations: 6.33 MB / 0.9441 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.3035, allocations: 31.88 kB / 0.9441 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.3035, allocations: 15.98 kB / 0.9441 GB, free: 10.08 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.0003502/0.3039, allocations: 303 kB / 0.9444 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/0.304, allocations: 59.25 kB / 0.9445 GB, free: 9.715 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.0006952/0.3047, allocations: 389.5 kB / 0.9448 GB, free: 9.352 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.