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: "" <> buildModelFMU(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,fileNamePrefix="AixLib_AixLib_Obsolete_Year2021_Fluid_Examples_PumpHydraulicResistance_closedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,fileNamePrefix="AixLib_AixLib_Obsolete_Year2021_Fluid_Examples_PumpHydraulicResistance_closedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008367/0.0008368, allocations: 91.61 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.0008579/0.0008582, 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.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2649/0.2649, allocations: 12.03 MB / 303.1 MB, free: 1.625 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002826/0.0002824, allocations: 19.97 kB / 357.2 MB, free: 3.262 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.23/2.23, allocations: 266.8 MB / 0.6621 GB, free: 3.25 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005608/0.0005609, allocations: 15.81 kB / 0.7827 GB, free: 32.6 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2667, allocations: 110.2 MB / 0.8903 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.01887/0.2856, allocations: 17.65 MB / 0.9075 GB, free: 140 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007538/0.2932, allocations: 4.647 MB / 0.912 GB, free: 11.48 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000692/0.294, allocations: 15.88 kB / 0.9121 GB, free: 11.46 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.295, allocations: 274.7 kB / 0.9123 GB, free: 11.2 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.2969, allocations: 0.6141 MB / 0.9129 GB, free: 10.58 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.001955/0.2989, allocations: 0.5882 MB / 0.9135 GB, free: 9.996 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.3006, allocations: 1.262 MB / 0.9147 GB, free: 8.73 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005629/0.3012, allocations: 325.1 kB / 0.915 GB, free: 8.406 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000911/0.3021, allocations: 438 kB / 0.9155 GB, free: 7.977 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.3027, allocations: 406.5 kB / 0.9158 GB, free: 7.578 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.3027, allocations: 24 kB / 0.9159 GB, free: 7.555 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.3043, allocations: 0.694 MB / 0.9165 GB, free: 6.859 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.3045, allocations: 179.4 kB / 0.9167 GB, free: 6.684 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.3047, allocations: 133.3 kB / 0.9168 GB, free: 6.547 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0009896/0.3057, allocations: 0.8029 MB / 0.9176 GB, free: 5.742 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3057, allocations: 0 / 0.9176 GB, free: 5.742 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3057, allocations: 0 / 0.9176 GB, free: 5.742 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.3057, allocations: 0 / 0.9176 GB, free: 5.742 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.001732/0.3075, allocations: 0.9575 MB / 0.9186 GB, free: 4.734 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3075, allocations: 12.03 kB / 0.9186 GB, free: 4.723 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.502e-05/0.3076, allocations: 54.55 kB / 0.9186 GB, free: 4.66 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.3077, allocations: 75.16 kB / 0.9187 GB, free: 4.586 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.3088, allocations: 0.6515 MB / 0.9193 GB, free: 3.891 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.962e-05/0.3089, allocations: 46.14 kB / 0.9194 GB, free: 3.84 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.3089, allocations: 24 kB / 0.9194 GB, free: 3.816 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.3094, allocations: 275.1 kB / 0.9197 GB, free: 3.543 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.3094, allocations: 0 / 0.9197 GB, free: 3.543 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.3095, allocations: 4 kB / 0.9197 GB, free: 3.539 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3095, allocations: 11.94 kB / 0.9197 GB, free: 3.527 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.31, allocations: 277.6 kB / 0.9199 GB, free: 3.258 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.002066/0.3121, allocations: 1.656 MB / 0.9216 GB, free: 1.438 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000725/0.3128, allocations: 262.7 kB / 0.9218 GB, free: 1.172 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.313, allocations: 128.7 kB / 0.9219 GB, free: 1.043 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/0.3145, allocations: 1.484 MB / 0.9234 GB, free: 15.35 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.3148, allocations: 151.5 kB / 0.9235 GB, free: 15.19 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001352/0.3149, allocations: 31.83 kB / 0.9236 GB, free: 15.16 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 1.883e-06/0.3149, allocations: 0 / 0.9236 GB, free: 15.16 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.005195/0.3201, allocations: 1.066 MB / 0.9246 GB, free: 14.06 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3202, allocations: 59.41 kB / 0.9247 GB, free: 13.99 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.3213, allocations: 0.8988 MB / 0.9255 GB, free: 13.08 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.3213, allocations: 33.7 kB / 0.9256 GB, free: 13.04 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.3216, allocations: 296.6 kB / 0.9258 GB, free: 12.75 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.3216, allocations: 74.84 kB / 0.9259 GB, free: 12.68 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.3217, allocations: 4 kB / 0.9259 GB, free: 12.67 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3218, allocations: 321.9 kB / 0.9262 GB, free: 12.35 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3219, allocations: 68.44 kB / 0.9263 GB, free: 12.29 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.3221, allocations: 159.9 kB / 0.9264 GB, free: 12.1 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.3223, allocations: 90.2 kB / 0.9265 GB, free: 12.01 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3223, allocations: 0 / 0.9265 GB, free: 12.01 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002245/0.3245, allocations: 0.5364 MB / 0.9271 GB, free: 11.46 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.998e-05/0.3246, allocations: 137.3 kB / 0.9272 GB, free: 11.31 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3247, allocations: 0 / 0.9272 GB, free: 11.31 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/0.3267, allocations: 344.5 kB / 0.9275 GB, free: 10.97 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3268, allocations: 39.92 kB / 0.9276 GB, free: 10.93 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/0.3305, allocations: 6.332 MB / 0.9337 GB, free: 4.191 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.331, allocations: 36.12 kB / 0.9338 GB, free: 4.156 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.3311, allocations: 12 kB / 0.9338 GB, free: 4.145 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.3311, allocations: 7.938 kB / 0.9338 GB, free: 4.137 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002095/0.3332, allocations: 466.6 kB / 0.9342 GB, free: 3.68 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3332, allocations: 4 kB / 0.9342 GB, free: 3.676 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.3348, allocations: 296.6 kB / 0.9345 GB, free: 3.383 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.3349, allocations: 27.98 kB / 0.9345 GB, free: 3.355 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/0.3382, allocations: 6.326 MB / 0.9407 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.3387, allocations: 31 kB / 0.9408 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.3387, allocations: 15.98 kB / 0.9408 GB, free: 12.57 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.0004145/0.3391, allocations: 299.1 kB / 0.9411 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.919e-05/0.3392, allocations: 67.16 kB / 0.9411 GB, free: 12.21 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.0007426/0.34, allocations: 396 kB / 0.9415 GB, free: 11.84 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.