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.0009499/0.0009499, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006022/0.006022, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.282/1.282, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1641/0.1641, allocations: 12.03 MB / 303.5 MB, free: 1.715 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0001744/0.0001741, allocations: 27.83 kB / 357.6 MB, free: 3.074 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.768/1.768, allocations: 266.8 MB / 0.6625 GB, free: 3.086 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004824, allocations: 19.41 kB / 0.7833 GB, free: 32.39 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.184, allocations: 110.2 MB / 0.891 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.0183/0.2023, allocations: 18.58 MB / 0.9091 GB, free: 14.73 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.006668/0.209, allocations: 4.992 MB / 0.914 GB, free: 9.723 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005269/0.2096, allocations: 15.88 kB / 0.914 GB, free: 9.707 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0008698/0.2105, allocations: 306.6 kB / 0.9143 GB, free: 9.406 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.2121, allocations: 0.7039 MB / 0.915 GB, free: 8.699 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.001631/0.2138, allocations: 0.6231 MB / 0.9156 GB, free: 8.082 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.2154, allocations: 1.476 MB / 0.917 GB, free: 6.602 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004551/0.2158, allocations: 321.1 kB / 0.9173 GB, free: 6.281 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007636/0.2166, allocations: 466 kB / 0.9178 GB, free: 5.824 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004871/0.2171, allocations: 418.4 kB / 0.9182 GB, free: 5.414 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 5.657e-05/0.2172, allocations: 24 kB / 0.9182 GB, free: 5.391 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.2184, allocations: 0.7798 MB / 0.919 GB, free: 4.609 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2186, allocations: 183.3 kB / 0.9191 GB, free: 4.43 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.2189, allocations: 327.9 kB / 0.9195 GB, free: 4.102 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.2201, allocations: 1.094 MB / 0.9205 GB, free: 3.004 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2201, allocations: 0 / 0.9205 GB, free: 3.004 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2201, allocations: 0 / 0.9205 GB, free: 3.004 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.2201, allocations: 0 / 0.9205 GB, free: 3.004 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.001625/0.2217, allocations: 0.9577 MB / 0.9215 GB, free: 1.996 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2218, allocations: 8.594 kB / 0.9215 GB, free: 1.988 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.443e-05/0.2218, allocations: 62.73 kB / 0.9215 GB, free: 1.918 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.222, allocations: 72.09 kB / 0.9216 GB, free: 1.848 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/0.2229, allocations: 0.6744 MB / 0.9223 GB, free: 1.129 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/0.223, allocations: 46.14 kB / 0.9223 GB, free: 1.078 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.2231, allocations: 24 kB / 0.9223 GB, free: 1.055 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.2235, allocations: 275.2 kB / 0.9226 GB, free: 0.7812 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2235, allocations: 0 / 0.9226 GB, free: 0.7812 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.2236, allocations: 8 kB / 0.9226 GB, free: 0.7734 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.2236, allocations: 4 kB / 0.9226 GB, free: 0.7695 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004908/0.2241, allocations: 277.6 kB / 0.9229 GB, free: 0.5 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.002037/0.2261, allocations: 1.664 MB / 0.9245 GB, free: 14.67 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000736/0.2269, allocations: 270.7 kB / 0.9247 GB, free: 14.4 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.2271, allocations: 120.6 kB / 0.9249 GB, free: 14.28 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.2285, allocations: 1.476 MB / 0.9263 GB, free: 12.59 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.2288, allocations: 172.8 kB / 0.9265 GB, free: 12.41 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001414/0.2289, allocations: 31.83 kB / 0.9265 GB, free: 12.38 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 3.236e-06/0.2289, allocations: 0 / 0.9265 GB, free: 12.38 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.005914/0.2348, allocations: 1.064 MB / 0.9275 GB, free: 11.29 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.2349, allocations: 63.28 kB / 0.9276 GB, free: 11.21 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.236, allocations: 0.9066 MB / 0.9285 GB, free: 10.3 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.236, allocations: 33.7 kB / 0.9285 GB, free: 10.26 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.2362, allocations: 300.6 kB / 0.9288 GB, free: 9.961 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.2363, allocations: 82.83 kB / 0.9289 GB, free: 9.879 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.2364, allocations: 25.7 kB / 0.9289 GB, free: 9.848 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2365, allocations: 310 kB / 0.9292 GB, free: 9.539 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.2366, allocations: 80.42 kB / 0.9293 GB, free: 9.461 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.2368, allocations: 156 kB / 0.9294 GB, free: 9.277 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.2371, allocations: 202.9 kB / 0.9296 GB, free: 9.062 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2371, allocations: 0 / 0.9296 GB, free: 9.062 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002507/0.2397, allocations: 0.554 MB / 0.9302 GB, free: 8.5 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.358e-05/0.2398, allocations: 129.4 kB / 0.9303 GB, free: 8.352 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2398, allocations: 4 kB / 0.9303 GB, free: 8.348 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/0.242, allocations: 344.5 kB / 0.9306 GB, free: 8.008 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.2421, allocations: 39.86 kB / 0.9307 GB, free: 7.969 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.2451, allocations: 6.349 MB / 0.9369 GB, free: 1.215 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.2455, allocations: 31.88 kB / 0.9369 GB, free: 1.184 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.2456, allocations: 8 kB / 0.9369 GB, free: 1.176 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.2456, allocations: 4 kB / 0.9369 GB, free: 1.172 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002369/0.248, allocations: 480.3 kB / 0.9374 GB, free: 0.6992 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.248, allocations: 4 kB / 0.9374 GB, free: 0.6953 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.2497, allocations: 288.6 kB / 0.9376 GB, free: 420 kB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.2499, allocations: 31.92 kB / 0.9377 GB, free: 388 kB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.2526, allocations: 6.337 MB / 0.9438 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.2531, allocations: 27.97 kB / 0.9439 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.2531, allocations: 15.94 kB / 0.9439 GB, free: 9.586 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.0003325/0.2534, allocations: 306.2 kB / 0.9442 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.2535, allocations: 67.19 kB / 0.9442 GB, free: 9.215 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.0006822/0.2542, allocations: 379.1 kB / 0.9446 GB, free: 8.859 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.