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: "" <> buildModelFMU(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,fileNamePrefix="AixLib_latest_AixLib_Obsolete_Year2021_Fluid_Examples_PumpHydraulicResistance_closedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,fileNamePrefix="AixLib_latest_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.0008351/0.000835, 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.001071/0.001071, 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.443/1.443, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2101/0.2101, allocations: 12.02 MB / 303.1 MB, free: 1.742 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002048/0.000205, allocations: 11.97 kB / 357.2 MB, free: 3.215 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.01/2.01, allocations: 268.7 MB / 0.664 GB, free: 1.41 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005329/0.0005333, allocations: 14.62 kB / 0.7848 GB, free: 32.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2748, allocations: 110.5 MB / 0.8928 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.01779/0.2926, allocations: 17.65 MB / 0.91 GB, free: 13.89 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.00704/0.2997, allocations: 4.643 MB / 0.9145 GB, free: 9.242 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006238/0.3004, allocations: 7.938 kB / 0.9145 GB, free: 9.234 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0009272/0.3013, allocations: 278.6 kB / 0.9148 GB, free: 8.961 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.303, allocations: 0.6134 MB / 0.9154 GB, free: 8.348 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.001763/0.3047, allocations: 0.5939 MB / 0.916 GB, free: 7.758 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.001506/0.3063, allocations: 1.27 MB / 0.9172 GB, free: 6.484 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004843/0.3068, allocations: 313 kB / 0.9175 GB, free: 6.172 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007698/0.3075, allocations: 450 kB / 0.918 GB, free: 5.73 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.308, allocations: 394.5 kB / 0.9183 GB, free: 5.344 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 6.067e-05/0.3081, allocations: 28 kB / 0.9184 GB, free: 5.316 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.3095, allocations: 0.6941 MB / 0.919 GB, free: 4.621 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.3096, allocations: 175.4 kB / 0.9192 GB, free: 4.449 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3098, allocations: 137.4 kB / 0.9193 GB, free: 4.309 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0008863/0.3107, allocations: 0.7989 MB / 0.9201 GB, free: 3.508 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3107, allocations: 7.984 kB / 0.9201 GB, free: 3.5 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3107, allocations: 0 / 0.9201 GB, free: 3.5 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.3107, allocations: 0 / 0.9201 GB, free: 3.5 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.001638/0.3124, allocations: 0.9575 MB / 0.9211 GB, free: 2.492 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3124, allocations: 8.031 kB / 0.9211 GB, free: 2.484 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.056e-05/0.3125, allocations: 54.55 kB / 0.9211 GB, free: 2.422 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3126, allocations: 71.16 kB / 0.9212 GB, free: 2.352 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.3137, allocations: 0.6553 MB / 0.9218 GB, free: 1.652 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.3138, allocations: 38.14 kB / 0.9219 GB, free: 1.609 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.3138, allocations: 24 kB / 0.9219 GB, free: 1.586 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.3143, allocations: 275.2 kB / 0.9221 GB, free: 1.312 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3143, allocations: 0 / 0.9221 GB, free: 1.312 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.3143, allocations: 8 kB / 0.9222 GB, free: 1.305 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3143, allocations: 4 kB / 0.9222 GB, free: 1.301 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.3148, allocations: 277.6 kB / 0.9224 GB, free: 1.031 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.002005/0.3169, allocations: 1.68 MB / 0.9241 GB, free: 15.19 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.3176, allocations: 262.7 kB / 0.9243 GB, free: 14.92 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.3178, allocations: 120.7 kB / 0.9244 GB, free: 14.8 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/0.3192, allocations: 1.48 MB / 0.9259 GB, free: 13.11 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.3194, allocations: 155.5 kB / 0.926 GB, free: 12.95 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001329/0.3196, allocations: 35.83 kB / 0.9261 GB, free: 12.91 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.3196, allocations: 0 / 0.9261 GB, free: 12.91 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.005135/0.3247, allocations: 1.061 MB / 0.9271 GB, free: 11.82 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3248, allocations: 55.36 kB / 0.9271 GB, free: 11.76 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.3258, allocations: 0.9106 MB / 0.928 GB, free: 10.84 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3259, allocations: 29.7 kB / 0.9281 GB, free: 10.8 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.3261, allocations: 292.6 kB / 0.9283 GB, free: 10.51 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 6.745e-05/0.3262, allocations: 86.83 kB / 0.9284 GB, free: 10.43 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.3262, allocations: 4 kB / 0.9284 GB, free: 10.42 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.3263, allocations: 318 kB / 0.9287 GB, free: 10.11 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3264, allocations: 72.38 kB / 0.9288 GB, free: 10.04 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.3266, allocations: 146.3 kB / 0.9289 GB, free: 9.859 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3268, allocations: 83.97 kB / 0.929 GB, free: 9.777 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3268, allocations: 4 kB / 0.929 GB, free: 9.773 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002233/0.329, allocations: 0.5463 MB / 0.9296 GB, free: 9.219 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-05/0.3291, allocations: 125.4 kB / 0.9297 GB, free: 9.074 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.3291, allocations: 4 kB / 0.9297 GB, free: 9.07 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/0.3312, allocations: 344.5 kB / 0.93 GB, free: 8.73 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3313, allocations: 27.92 kB / 0.93 GB, free: 8.703 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/0.3343, allocations: 6.341 MB / 0.9362 GB, free: 1.953 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.3348, allocations: 31.34 kB / 0.9363 GB, free: 1.926 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.3349, allocations: 20.06 kB / 0.9363 GB, free: 1.906 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/0.3349, allocations: 5.094 kB / 0.9363 GB, free: 1.902 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002059/0.3369, allocations: 468.2 kB / 0.9367 GB, free: 1.441 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3369, allocations: 3.938 kB / 0.9367 GB, free: 1.438 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.3385, allocations: 304.6 kB / 0.937 GB, free: 1.137 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.3386, allocations: 27.92 kB / 0.9371 GB, free: 1.109 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/0.3416, allocations: 6.326 MB / 0.9432 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.342, allocations: 28.02 kB / 0.9433 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.3421, allocations: 11.98 kB / 0.9433 GB, free: 10.33 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.0003603/0.3425, allocations: 301.1 kB / 0.9436 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/0.3425, allocations: 67.11 kB / 0.9436 GB, free: 9.961 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.0007163/0.3433, allocations: 389.6 kB / 0.944 GB, free: 9.594 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.