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.001315/0.001315, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001386/0.001386, allocations: 168.7 kB / 15.95 MB, free: 204 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.461/1.461, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.241/0.241, allocations: 12.03 MB / 303.1 MB, free: 1.652 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002275/0.0002276, allocations: 15.97 kB / 357.2 MB, free: 3.188 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.098/2.098, allocations: 270.9 MB / 0.6662 GB, free: 15.36 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005465/0.0005466, allocations: 19.05 kB / 0.7874 GB, free: 31.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3077, allocations: 111 MB / 0.8958 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.02137/0.3291, allocations: 17.65 MB / 0.913 GB, free: 11.14 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.007792/0.337, allocations: 4.639 MB / 0.9175 GB, free: 6.488 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008425/0.3379, allocations: 11.88 kB / 0.9175 GB, free: 6.477 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.3389, allocations: 286.6 kB / 0.9178 GB, free: 6.195 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.341, allocations: 0.6102 MB / 0.9184 GB, free: 5.582 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.002102/0.3431, allocations: 0.5908 MB / 0.919 GB, free: 4.996 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.001898/0.345, allocations: 1.266 MB / 0.9202 GB, free: 3.727 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005632/0.3456, allocations: 321 kB / 0.9205 GB, free: 3.406 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009459/0.3465, allocations: 446 kB / 0.921 GB, free: 2.969 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005662/0.3471, allocations: 398.5 kB / 0.9213 GB, free: 2.578 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 6.479e-05/0.3472, allocations: 28 kB / 0.9214 GB, free: 2.551 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.3488, allocations: 0.6902 MB / 0.922 GB, free: 1.859 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.349, allocations: 179.4 kB / 0.9222 GB, free: 1.684 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.3492, allocations: 137.3 kB / 0.9223 GB, free: 1.543 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.3503, allocations: 0.7951 MB / 0.9231 GB, free: 0.7461 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3503, allocations: 3.984 kB / 0.9231 GB, free: 0.7422 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3503, allocations: 0 / 0.9231 GB, free: 0.7422 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.3504, allocations: 4 kB / 0.9231 GB, free: 0.7383 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.0019/0.3523, allocations: 0.9574 MB / 0.9241 GB, free: 15.73 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3523, allocations: 8.031 kB / 0.9241 GB, free: 15.72 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.3525, allocations: 71.16 kB / 0.9241 GB, free: 15.65 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.3536, allocations: 0.6476 MB / 0.9248 GB, free: 14.96 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/0.3536, allocations: 54.06 kB / 0.9248 GB, free: 14.9 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.3537, allocations: 24 kB / 0.9248 GB, free: 14.88 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.3542, allocations: 271.2 kB / 0.9251 GB, free: 14.61 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3542, allocations: 0 / 0.9251 GB, free: 14.61 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.3543, allocations: 4 kB / 0.9251 GB, free: 14.6 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3543, allocations: 4 kB / 0.9251 GB, free: 14.6 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.3548, allocations: 281.6 kB / 0.9254 GB, free: 14.32 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.00242/0.3573, allocations: 1.664 MB / 0.927 GB, free: 12.5 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.358, allocations: 262.7 kB / 0.9272 GB, free: 12.23 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.3583, allocations: 124.7 kB / 0.9274 GB, free: 12.11 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/0.36, allocations: 1.484 MB / 0.9288 GB, free: 10.41 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.3603, allocations: 148.1 kB / 0.929 GB, free: 10.25 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001508/0.3604, allocations: 39.81 kB / 0.929 GB, free: 10.21 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.3605, allocations: 0 / 0.929 GB, free: 10.21 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.005058/0.3655, allocations: 1.059 MB / 0.93 GB, free: 9.129 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.3656, allocations: 55.41 kB / 0.9301 GB, free: 9.062 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.3668, allocations: 0.9104 MB / 0.931 GB, free: 8.141 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.3669, allocations: 29.7 kB / 0.931 GB, free: 8.105 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.3671, allocations: 304.5 kB / 0.9313 GB, free: 7.805 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 7.295e-05/0.3672, allocations: 74.92 kB / 0.9314 GB, free: 7.73 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.3672, allocations: 4 kB / 0.9314 GB, free: 7.727 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3674, allocations: 314 kB / 0.9317 GB, free: 7.414 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3675, allocations: 76.36 kB / 0.9317 GB, free: 7.34 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.3678, allocations: 150.3 kB / 0.9319 GB, free: 7.16 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.3679, allocations: 82.05 kB / 0.932 GB, free: 7.082 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3679, allocations: 4 kB / 0.932 GB, free: 7.078 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002202/0.3702, allocations: 0.5441 MB / 0.9325 GB, free: 6.523 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.3703, allocations: 133.3 kB / 0.9326 GB, free: 6.371 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.3703, allocations: 4 kB / 0.9326 GB, free: 6.367 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/0.3724, allocations: 340.5 kB / 0.933 GB, free: 6.031 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3725, allocations: 35.92 kB / 0.933 GB, free: 5.996 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/0.3763, allocations: 6.352 MB / 0.9392 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.3768, allocations: 32.12 kB / 0.9392 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.3769, allocations: 12 kB / 0.9392 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.3769, allocations: 1.406 kB / 0.9392 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002133/0.379, allocations: 470.1 kB / 0.9397 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3791, allocations: 96 / 0.9397 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.3807, allocations: 292.8 kB / 0.94 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.3809, allocations: 31.92 kB / 0.94 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/0.3845, allocations: 6.326 MB / 0.9462 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.385, allocations: 27.97 kB / 0.9462 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.3851, allocations: 12 kB / 0.9462 GB, free: 7.637 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.000443/0.3855, allocations: 305.1 kB / 0.9465 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.3857, allocations: 67.11 kB / 0.9466 GB, free: 7.262 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.0008342/0.3866, allocations: 394.9 kB / 0.9469 GB, free: 6.887 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.