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.001536/0.001536, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001976/0.001977, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.629/2.629, allocations: 223.2 MB / 239.9 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.4334/0.4334, allocations: 12.01 MB / 303 MB, free: 1.711 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005583/0.0005582, allocations: 7.984 kB / 357.1 MB, free: 3.207 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 3.631/3.631, allocations: 266.7 MB / 0.6619 GB, free: 3.352 MB / 462.1 MB Notification: AixLib requested package SDF of version 0.4.2. SDF 0.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009578/0.0009579, allocations: 20.12 kB / 0.7824 GB, free: 32.77 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4114, allocations: 110.2 MB / 0.8901 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.03774/0.4493, allocations: 16.15 MB / 0.9058 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.4617, allocations: 4.31 MB / 0.91 GB, free: 13.34 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.463, allocations: 15.88 kB / 0.91 GB, free: 13.33 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.4651, allocations: 318.8 kB / 0.9104 GB, free: 13.02 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.004798/0.4699, allocations: 0.7361 MB / 0.9111 GB, free: 12.28 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.004063/0.474, allocations: 0.6358 MB / 0.9117 GB, free: 11.65 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.002958/0.477, allocations: 0.7448 MB / 0.9124 GB, free: 10.91 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.4782, allocations: 317.2 kB / 0.9127 GB, free: 10.59 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.4802, allocations: 430.6 kB / 0.9131 GB, free: 10.17 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.4814, allocations: 322.9 kB / 0.9134 GB, free: 9.852 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.4816, allocations: 24 kB / 0.9135 GB, free: 9.828 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.4848, allocations: 0.5461 MB / 0.914 GB, free: 9.281 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006103/0.4855, allocations: 175.4 kB / 0.9142 GB, free: 9.109 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007401/0.4863, allocations: 133.4 kB / 0.9143 GB, free: 8.973 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.4889, allocations: 0.7483 MB / 0.915 GB, free: 8.223 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4889, allocations: 3.938 kB / 0.915 GB, free: 8.219 MB / 0.6232 GB Notification: Performance of FrontEnd: time 4.258e-06/0.4889, allocations: 0 / 0.915 GB, free: 8.219 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 3.377e-05/0.489, allocations: 0 / 0.915 GB, free: 8.219 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.003636/0.4926, allocations: 0.9419 MB / 0.9159 GB, free: 7.227 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 6.626e-05/0.4927, allocations: 12.03 kB / 0.916 GB, free: 7.215 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.4929, allocations: 62.55 kB / 0.916 GB, free: 7.145 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/0.4933, allocations: 67.16 kB / 0.9161 GB, free: 7.078 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.4953, allocations: 0.6242 MB / 0.9167 GB, free: 6.41 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.4954, allocations: 50.14 kB / 0.9167 GB, free: 6.355 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-05/0.4955, allocations: 24 kB / 0.9168 GB, free: 6.332 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/0.4964, allocations: 275.1 kB / 0.917 GB, free: 6.059 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4964, allocations: 0 / 0.917 GB, free: 6.059 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.4965, allocations: 8 kB / 0.917 GB, free: 6.051 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.4965, allocations: 4 kB / 0.917 GB, free: 6.047 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009003/0.4974, allocations: 277.6 kB / 0.9173 GB, free: 5.777 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.004427/0.5018, allocations: 1.676 MB / 0.9189 GB, free: 3.938 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.5032, allocations: 274.6 kB / 0.9192 GB, free: 3.66 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003042/0.5063, allocations: 1.484 MB / 0.9206 GB, free: 1.965 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005033/0.5068, allocations: 155.4 kB / 0.9208 GB, free: 1.801 MB / 0.6232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000417/0.5073, allocations: 35.81 kB / 0.9208 GB, free: 1.766 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=23): time 5.631e-06/0.5073, allocations: 0 / 0.9208 GB, free: 1.766 MB / 0.6232 GB Notification: Performance of matching and sorting (n=23): time 0.01023/0.5175, allocations: 1.057 MB / 0.9219 GB, free: 0.6836 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.5177, allocations: 55.41 kB / 0.9219 GB, free: 0.6172 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.52, allocations: 0.9184 MB / 0.9228 GB, free: 15.69 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 9.854e-05/0.5201, allocations: 29.7 kB / 0.9228 GB, free: 15.65 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/0.5206, allocations: 304.5 kB / 0.9231 GB, free: 15.35 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.5207, allocations: 78.84 kB / 0.9232 GB, free: 15.27 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.5208, allocations: 4 kB / 0.9232 GB, free: 15.27 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.521, allocations: 321.9 kB / 0.9235 GB, free: 14.95 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.5213, allocations: 68.44 kB / 0.9236 GB, free: 14.88 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.5217, allocations: 159.8 kB / 0.9237 GB, free: 14.7 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.522, allocations: 83.98 kB / 0.9238 GB, free: 14.61 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.522, allocations: 0 / 0.9238 GB, free: 14.61 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.004803/0.5268, allocations: 0.5466 MB / 0.9243 GB, free: 14.06 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004571/0.5273, allocations: 0.5292 MB / 0.9249 GB, free: 13.49 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.5274, allocations: 4.078 kB / 0.9249 GB, free: 13.48 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004316/0.5317, allocations: 351.6 kB / 0.9252 GB, free: 13.14 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.532, allocations: 27.92 kB / 0.9252 GB, free: 13.11 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007126/0.5392, allocations: 6.341 MB / 0.9314 GB, free: 6.363 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.5404, allocations: 31.91 kB / 0.9315 GB, free: 6.332 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.5405, allocations: 16 kB / 0.9315 GB, free: 6.316 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5406, allocations: 0 / 0.9315 GB, free: 6.316 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004652/0.5452, allocations: 472.4 kB / 0.9319 GB, free: 5.852 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.5453, allocations: 0 / 0.9319 GB, free: 5.852 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003577/0.5489, allocations: 296.6 kB / 0.9322 GB, free: 5.559 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.5492, allocations: 23.98 kB / 0.9322 GB, free: 5.535 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006811/0.556, allocations: 6.326 MB / 0.9384 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.5572, allocations: 39.25 kB / 0.9384 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.5573, allocations: 8 kB / 0.9384 GB, free: 14.75 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.000738/0.5581, allocations: 297.1 kB / 0.9387 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/0.5584, allocations: 59.25 kB / 0.9388 GB, free: 14.39 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.001612/0.56, allocations: 401.3 kB / 0.9392 GB, free: 14.02 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.