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.3.2-development/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-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.001138/0.001138, allocations: 101.4 kB / 15.71 MB, free: 460 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.001787/0.001787, allocations: 176.4 kB / 16.58 MB, free: 6.043 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.607/1.607, allocations: 223.3 MB / 240.6 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.2302/0.2302, allocations: 12.04 MB / 303.7 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003242/0.0003239, allocations: 11.92 kB / 357.8 MB, free: 3.176 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-development/package.mo): time 2.304/2.304, allocations: 268.7 MB / 0.6646 GB, free: 1.473 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005392/0.0005393, allocations: 13.16 kB / 0.7853 GB, free: 32.34 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2945, allocations: 110.5 MB / 0.8933 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.02169/0.3162, allocations: 17.65 MB / 0.9105 GB, free: 14 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.008989/0.3253, allocations: 4.639 MB / 0.915 GB, free: 9.355 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007397/0.3261, allocations: 15.88 kB / 0.9151 GB, free: 9.34 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.3271, allocations: 282.7 kB / 0.9153 GB, free: 9.062 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.329, allocations: 0.6209 MB / 0.9159 GB, free: 8.441 MB / 0.6232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-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.3.2-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.001942/0.331, allocations: 0.59 MB / 0.9165 GB, free: 7.855 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.3326, allocations: 1.266 MB / 0.9177 GB, free: 6.586 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.3332, allocations: 322.3 kB / 0.9181 GB, free: 6.266 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007979/0.334, allocations: 438.1 kB / 0.9185 GB, free: 5.836 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005446/0.3345, allocations: 402.5 kB / 0.9189 GB, free: 5.441 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 5.874e-05/0.3346, allocations: 24 kB / 0.9189 GB, free: 5.418 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.3361, allocations: 0.694 MB / 0.9196 GB, free: 4.723 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.3363, allocations: 175.4 kB / 0.9197 GB, free: 4.551 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.3364, allocations: 137.3 kB / 0.9199 GB, free: 4.41 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0009609/0.3374, allocations: 0.7951 MB / 0.9206 GB, free: 3.613 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3374, allocations: 4 kB / 0.9206 GB, free: 3.609 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3374, allocations: 0 / 0.9206 GB, free: 3.609 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.3374, allocations: 0 / 0.9206 GB, free: 3.609 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.001738/0.3392, allocations: 0.9691 MB / 0.9216 GB, free: 2.59 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3392, allocations: 8.031 kB / 0.9216 GB, free: 2.582 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.3394, allocations: 71.16 kB / 0.9217 GB, free: 2.512 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.3405, allocations: 0.6398 MB / 0.9223 GB, free: 1.828 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/0.3406, allocations: 50.14 kB / 0.9223 GB, free: 1.773 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.3406, allocations: 24 kB / 0.9224 GB, free: 1.75 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.3411, allocations: 271.2 kB / 0.9226 GB, free: 1.48 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3411, allocations: 0 / 0.9226 GB, free: 1.48 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.3412, allocations: 12 kB / 0.9226 GB, free: 1.469 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3412, allocations: 4 kB / 0.9226 GB, free: 1.465 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.3417, allocations: 273.5 kB / 0.9229 GB, free: 1.199 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.002278/0.344, allocations: 1.676 MB / 0.9245 GB, free: 15.36 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.3448, allocations: 262.7 kB / 0.9248 GB, free: 15.09 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.345, allocations: 120.7 kB / 0.9249 GB, free: 14.97 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/0.3466, allocations: 1.484 MB / 0.9263 GB, free: 13.28 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/0.3469, allocations: 166.1 kB / 0.9265 GB, free: 13.11 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001346/0.347, allocations: 27.83 kB / 0.9265 GB, free: 13.08 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 2.415e-06/0.347, allocations: 7.938 kB / 0.9265 GB, free: 13.07 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.005217/0.3523, allocations: 1.053 MB / 0.9276 GB, free: 11.99 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.3523, allocations: 55.41 kB / 0.9276 GB, free: 11.92 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.3535, allocations: 0.9066 MB / 0.9285 GB, free: 11 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.3536, allocations: 29.7 kB / 0.9285 GB, free: 10.97 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.3539, allocations: 304.5 kB / 0.9288 GB, free: 10.67 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/0.3539, allocations: 78.92 kB / 0.9289 GB, free: 10.59 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.354, allocations: 4 kB / 0.9289 GB, free: 10.59 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3541, allocations: 314 kB / 0.9292 GB, free: 10.27 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3543, allocations: 68.42 kB / 0.9293 GB, free: 10.21 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.3545, allocations: 154.3 kB / 0.9294 GB, free: 10.02 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3547, allocations: 82.16 kB / 0.9295 GB, free: 9.945 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3547, allocations: 0 / 0.9295 GB, free: 9.945 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002256/0.3569, allocations: 0.5403 MB / 0.93 GB, free: 9.395 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.357, allocations: 142.7 kB / 0.9301 GB, free: 9.234 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.3571, allocations: 4 kB / 0.9302 GB, free: 9.23 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/0.3591, allocations: 336.5 kB / 0.9305 GB, free: 8.898 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3593, allocations: 31.98 kB / 0.9305 GB, free: 8.867 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/0.363, allocations: 6.356 MB / 0.9367 GB, free: 2.105 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.3635, allocations: 27.97 kB / 0.9367 GB, free: 2.078 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.3636, allocations: 8 kB / 0.9367 GB, free: 2.07 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.3636, allocations: 4 kB / 0.9368 GB, free: 2.066 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002188/0.3658, allocations: 470.6 kB / 0.9372 GB, free: 1.605 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.3658, allocations: 0 / 0.9372 GB, free: 1.605 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.3674, allocations: 292.9 kB / 0.9375 GB, free: 1.316 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/0.3675, allocations: 27.98 kB / 0.9375 GB, free: 1.289 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/0.3715, allocations: 6.334 MB / 0.9437 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005281/0.372, allocations: 32.09 kB / 0.9437 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.3721, allocations: 12 kB / 0.9437 GB, free: 10.5 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.0005279/0.3726, allocations: 301 kB / 0.944 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.435e-05/0.3727, allocations: 67.11 kB / 0.9441 GB, free: 10.13 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.0008535/0.3736, allocations: 391.8 kB / 0.9445 GB, free: 9.758 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.