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-master/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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-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-master/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.0009745/0.0009789, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008118/0.008118, allocations: 170 kB / 16.26 MB, free: 6.613 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1902/0.1902, allocations: 12.03 MB / 303.5 MB, free: 1.617 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0001761/0.000176, allocations: 15.97 kB / 357.6 MB, free: 3.086 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-development/package.mo): time 1.639/1.639, allocations: 270.9 MB / 0.6666 GB, free: 15.26 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004465, allocations: 20.66 kB / 0.7882 GB, free: 31.51 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.183, allocations: 111 MB / 0.8966 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.01816/0.2012, allocations: 18.6 MB / 0.9147 GB, free: 9.645 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.006221/0.2075, allocations: 4.976 MB / 0.9196 GB, free: 4.656 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.208, allocations: 7.938 kB / 0.9196 GB, free: 4.648 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0008506/0.2089, allocations: 314.6 kB / 0.9199 GB, free: 4.34 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.2106, allocations: 0.7 MB / 0.9206 GB, free: 3.637 MB / 0.6232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-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.4.0-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.001588/0.2122, allocations: 0.6339 MB / 0.9212 GB, free: 3.008 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.001651/0.2139, allocations: 1.473 MB / 0.9226 GB, free: 1.531 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005337/0.2144, allocations: 325.1 kB / 0.923 GB, free: 1.207 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008932/0.2153, allocations: 477.9 kB / 0.9234 GB, free: 0.7383 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006103/0.2159, allocations: 402.4 kB / 0.9238 GB, free: 352 kB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 9.326e-05/0.216, allocations: 28 kB / 0.9238 GB, free: 324 kB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.2174, allocations: 0.7876 MB / 0.9246 GB, free: 15.53 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.2176, allocations: 183.3 kB / 0.9248 GB, free: 15.35 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.2179, allocations: 327.9 kB / 0.9251 GB, free: 15.02 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.2193, allocations: 1.09 MB / 0.9261 GB, free: 13.93 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2193, allocations: 4 kB / 0.9261 GB, free: 13.92 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2193, allocations: 0 / 0.9261 GB, free: 13.92 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.2193, allocations: 0 / 0.9261 GB, free: 13.92 MB / 0.6388 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.001711/0.2211, allocations: 0.9499 MB / 0.9271 GB, free: 12.92 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2211, allocations: 8.031 kB / 0.9271 GB, free: 12.91 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.856e-05/0.2212, allocations: 58.72 kB / 0.9271 GB, free: 12.85 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.2213, allocations: 76.09 kB / 0.9272 GB, free: 12.77 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.2223, allocations: 0.6705 MB / 0.9279 GB, free: 12.06 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.115e-05/0.2224, allocations: 46.14 kB / 0.9279 GB, free: 12.01 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.2225, allocations: 20 kB / 0.9279 GB, free: 11.99 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.2229, allocations: 279.1 kB / 0.9282 GB, free: 11.71 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2229, allocations: 4 kB / 0.9282 GB, free: 11.7 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.223, allocations: 8 kB / 0.9282 GB, free: 11.7 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.223, allocations: 4 kB / 0.9282 GB, free: 11.69 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.2235, allocations: 277.6 kB / 0.9285 GB, free: 11.42 MB / 0.6388 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.002022/0.2255, allocations: 1.664 MB / 0.9301 GB, free: 9.594 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.2262, allocations: 266.7 kB / 0.9303 GB, free: 9.324 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.2264, allocations: 128.6 kB / 0.9305 GB, free: 9.195 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.2278, allocations: 1.476 MB / 0.9319 GB, free: 7.508 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.2281, allocations: 147.3 kB / 0.9321 GB, free: 7.352 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001463/0.2282, allocations: 39.81 kB / 0.9321 GB, free: 7.312 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 1.763e-06/0.2282, allocations: 0 / 0.9321 GB, free: 7.312 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.005471/0.2337, allocations: 1.072 MB / 0.9331 GB, free: 6.215 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.2338, allocations: 63.34 kB / 0.9332 GB, free: 6.141 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009695/0.2347, allocations: 0.9028 MB / 0.9341 GB, free: 5.227 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.2348, allocations: 29.7 kB / 0.9341 GB, free: 5.191 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.235, allocations: 308.5 kB / 0.9344 GB, free: 4.887 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.2351, allocations: 78.78 kB / 0.9345 GB, free: 4.809 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.2351, allocations: 25.72 kB / 0.9345 GB, free: 4.777 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.2352, allocations: 314 kB / 0.9348 GB, free: 4.465 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.2353, allocations: 76.38 kB / 0.9349 GB, free: 4.391 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.2355, allocations: 154.3 kB / 0.935 GB, free: 4.207 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.2358, allocations: 211.1 kB / 0.9352 GB, free: 3.984 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2359, allocations: 4 kB / 0.9352 GB, free: 3.98 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002384/0.2382, allocations: 0.556 MB / 0.9358 GB, free: 3.414 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/0.2383, allocations: 125.4 kB / 0.9359 GB, free: 3.27 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2383, allocations: 0 / 0.9359 GB, free: 3.27 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/0.2404, allocations: 348.5 kB / 0.9362 GB, free: 2.926 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.2406, allocations: 31.86 kB / 0.9363 GB, free: 2.895 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.2434, allocations: 6.35 MB / 0.9425 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.2438, allocations: 39.62 kB / 0.9425 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.2438, allocations: 19.97 kB / 0.9425 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.2438, allocations: 5.875 kB / 0.9425 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002246/0.2461, allocations: 466.7 kB / 0.943 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.2461, allocations: 4.031 kB / 0.943 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.2478, allocations: 296.5 kB / 0.9432 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.2478, allocations: 23.98 kB / 0.9433 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.2506, allocations: 6.338 MB / 0.9495 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.251, allocations: 27.89 kB / 0.9495 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.251, allocations: 16.11 kB / 0.9495 GB, free: 4.508 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.0002976/0.2513, allocations: 301 kB / 0.9498 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.2514, allocations: 59.25 kB / 0.9498 GB, free: 4.145 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.0006694/0.2521, allocations: 394 kB / 0.9502 GB, free: 3.773 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.