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.0008564/0.0008565, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001027/0.001027, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2078/0.2078, allocations: 12.03 MB / 303.1 MB, free: 1.605 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002788/0.0002787, allocations: 15.91 kB / 357.2 MB, free: 3.156 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 2.012/2.012, allocations: 266.8 MB / 0.6622 GB, free: 3.234 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005739/0.0005741, allocations: 15.91 kB / 0.7826 GB, free: 32.62 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2626, allocations: 110.2 MB / 0.8902 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.02022/0.2828, allocations: 17.63 MB / 0.9074 GB, free: 256 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00688/0.2898, allocations: 4.657 MB / 0.912 GB, free: 11.59 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006554/0.2905, allocations: 15.88 kB / 0.912 GB, free: 11.57 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.2915, allocations: 278.7 kB / 0.9123 GB, free: 11.3 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.2938, allocations: 0.6063 MB / 0.9128 GB, free: 10.69 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.001907/0.2957, allocations: 0.5881 MB / 0.9134 GB, free: 10.11 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.2977, allocations: 1.277 MB / 0.9147 GB, free: 8.828 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007219/0.2984, allocations: 317.1 kB / 0.915 GB, free: 8.512 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.2996, allocations: 446 kB / 0.9154 GB, free: 8.074 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000761/0.3003, allocations: 398.5 kB / 0.9158 GB, free: 7.684 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.3005, allocations: 24 kB / 0.9158 GB, free: 7.66 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.3021, allocations: 0.6902 MB / 0.9165 GB, free: 6.969 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.3023, allocations: 179.4 kB / 0.9166 GB, free: 6.793 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.3026, allocations: 133.3 kB / 0.9168 GB, free: 6.656 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.3038, allocations: 0.8029 MB / 0.9176 GB, free: 5.852 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3038, allocations: 4 kB / 0.9176 GB, free: 5.848 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3039, allocations: 3.938 kB / 0.9176 GB, free: 5.844 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 2.506e-05/0.3039, allocations: 0 / 0.9176 GB, free: 5.844 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.002111/0.306, allocations: 0.9575 MB / 0.9185 GB, free: 4.836 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.306, allocations: 12.03 kB / 0.9185 GB, free: 4.824 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.3063, allocations: 71.16 kB / 0.9186 GB, free: 4.754 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.3076, allocations: 0.6398 MB / 0.9192 GB, free: 4.07 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.654e-05/0.3077, allocations: 50.14 kB / 0.9192 GB, free: 4.016 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/0.3078, allocations: 24 kB / 0.9193 GB, free: 3.992 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.3083, allocations: 275.1 kB / 0.9195 GB, free: 3.719 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3083, allocations: 0 / 0.9195 GB, free: 3.719 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.3084, allocations: 12 kB / 0.9195 GB, free: 3.707 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.3084, allocations: 4 kB / 0.9195 GB, free: 3.703 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005617/0.309, allocations: 273.6 kB / 0.9198 GB, free: 3.438 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.002429/0.3114, allocations: 1.668 MB / 0.9214 GB, free: 1.605 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007634/0.3122, allocations: 262.7 kB / 0.9217 GB, free: 1.34 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.3124, allocations: 124.7 kB / 0.9218 GB, free: 1.215 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/0.3141, allocations: 1.488 MB / 0.9233 GB, free: 15.52 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.3144, allocations: 155.5 kB / 0.9234 GB, free: 15.35 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001738/0.3145, allocations: 31.83 kB / 0.9234 GB, free: 15.32 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 2.275e-06/0.3146, allocations: 4 kB / 0.9234 GB, free: 15.32 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.005356/0.3199, allocations: 1.056 MB / 0.9245 GB, free: 14.23 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.32, allocations: 55.41 kB / 0.9245 GB, free: 14.17 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.3212, allocations: 0.8988 MB / 0.9254 GB, free: 13.26 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.3212, allocations: 33.7 kB / 0.9254 GB, free: 13.22 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.3215, allocations: 300.6 kB / 0.9257 GB, free: 12.92 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 7.453e-05/0.3216, allocations: 82.83 kB / 0.9258 GB, free: 12.84 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.3216, allocations: 4 kB / 0.9258 GB, free: 12.84 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.3217, allocations: 317.9 kB / 0.9261 GB, free: 12.52 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3219, allocations: 72.38 kB / 0.9262 GB, free: 12.45 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.3221, allocations: 152 kB / 0.9263 GB, free: 12.27 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3223, allocations: 86.03 kB / 0.9264 GB, free: 12.19 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3223, allocations: 0 / 0.9264 GB, free: 12.19 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00239/0.3247, allocations: 0.5481 MB / 0.9269 GB, free: 11.63 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-05/0.3248, allocations: 129.3 kB / 0.9271 GB, free: 11.48 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3248, allocations: 0 / 0.9271 GB, free: 11.48 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00218/0.327, allocations: 356.5 kB / 0.9274 GB, free: 11.13 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3271, allocations: 27.92 kB / 0.9274 GB, free: 11.1 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003376/0.3305, allocations: 6.336 MB / 0.9336 GB, free: 4.359 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.3309, allocations: 32 kB / 0.9336 GB, free: 4.328 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.331, allocations: 8 kB / 0.9337 GB, free: 4.32 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.331, allocations: 7.984 kB / 0.9337 GB, free: 4.312 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002193/0.3332, allocations: 466.8 kB / 0.9341 GB, free: 3.855 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3332, allocations: 7.938 kB / 0.9341 GB, free: 3.848 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.3348, allocations: 300.9 kB / 0.9344 GB, free: 3.551 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.3349, allocations: 27.92 kB / 0.9344 GB, free: 3.523 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/0.3382, allocations: 6.322 MB / 0.9406 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.3385, allocations: 36 kB / 0.9406 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.3386, allocations: 19.98 kB / 0.9407 GB, free: 12.74 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.y,$PRE.NightSignal.pulseStart,NightSignal.pulseStart) * 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 (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.0003403/0.3389, allocations: 289.1 kB / 0.9409 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.189e-05/0.339, allocations: 71.16 kB / 0.941 GB, free: 12.38 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.0007734/0.3398, allocations: 394.3 kB / 0.9414 GB, free: 12 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.