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-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: translateModel(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop") translateModel(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008994/0.0008994, allocations: 100 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.0009093/0.0009095, 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 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2035/0.2035, allocations: 12.01 MB / 303 MB, free: 1.715 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.0003776/0.0003776, allocations: 8 kB / 357.1 MB, free: 3.207 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.081/2.081, allocations: 268.6 MB / 0.6638 GB, free: 1.707 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.0006017/0.0006018, allocations: 16.44 kB / 0.7845 GB, free: 32.29 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2473, allocations: 110.5 MB / 0.8924 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.01616/0.2635, allocations: 16.15 MB / 0.9082 GB, free: 15.58 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.006612/0.2702, allocations: 4.307 MB / 0.9124 GB, free: 11.27 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005943/0.2708, allocations: 11.94 kB / 0.9124 GB, free: 11.26 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0009793/0.2718, allocations: 318.8 kB / 0.9127 GB, free: 10.95 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.2736, allocations: 0.7383 MB / 0.9135 GB, free: 10.21 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.001708/0.2753, allocations: 0.6369 MB / 0.9141 GB, free: 9.578 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2764, allocations: 0.7526 MB / 0.9148 GB, free: 8.824 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004605/0.2769, allocations: 321.2 kB / 0.9151 GB, free: 8.504 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007788/0.2777, allocations: 430.5 kB / 0.9155 GB, free: 8.082 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.2781, allocations: 318.9 kB / 0.9158 GB, free: 7.77 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.2781, allocations: 28 kB / 0.9159 GB, free: 7.742 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.2792, allocations: 0.5383 MB / 0.9164 GB, free: 7.203 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.2794, allocations: 171.4 kB / 0.9165 GB, free: 7.035 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.2795, allocations: 141.3 kB / 0.9167 GB, free: 6.891 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0008934/0.2804, allocations: 0.7405 MB / 0.9174 GB, free: 6.148 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2804, allocations: 7.938 kB / 0.9174 GB, free: 6.141 MB / 0.6232 GB Notification: Performance of FrontEnd: time 3.427e-06/0.2804, allocations: 0 / 0.9174 GB, free: 6.141 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.2804, allocations: 3.938 kB / 0.9174 GB, free: 6.137 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.001808/0.2823, allocations: 0.9458 MB / 0.9183 GB, free: 5.141 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2823, allocations: 12.03 kB / 0.9184 GB, free: 5.129 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.2824, allocations: 71.16 kB / 0.9184 GB, free: 5.059 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.2835, allocations: 0.6282 MB / 0.919 GB, free: 4.387 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.663e-05/0.2836, allocations: 46.14 kB / 0.9191 GB, free: 4.336 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.2836, allocations: 24 kB / 0.9191 GB, free: 4.312 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.2841, allocations: 271.2 kB / 0.9194 GB, free: 4.043 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2842, allocations: 0 / 0.9194 GB, free: 4.043 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.2842, allocations: 8 kB / 0.9194 GB, free: 4.035 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2842, allocations: 4 kB / 0.9194 GB, free: 4.031 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/0.2847, allocations: 277.6 kB / 0.9196 GB, free: 3.762 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.002223/0.2869, allocations: 1.672 MB / 0.9213 GB, free: 1.926 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007493/0.2877, allocations: 262.7 kB / 0.9215 GB, free: 1.66 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/0.2892, allocations: 1.5 MB / 0.923 GB, free: 15.95 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.2895, allocations: 151.5 kB / 0.9231 GB, free: 15.79 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001464/0.2897, allocations: 39.81 kB / 0.9232 GB, free: 15.75 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=23): time 1.843e-06/0.2897, allocations: 0 / 0.9232 GB, free: 15.75 MB / 0.6388 GB Notification: Performance of matching and sorting (n=23): time 0.005897/0.2956, allocations: 1.053 MB / 0.9242 GB, free: 14.67 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.2956, allocations: 55.41 kB / 0.9242 GB, free: 14.61 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.2968, allocations: 0.9261 MB / 0.9252 GB, free: 13.67 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.2969, allocations: 29.7 kB / 0.9252 GB, free: 13.63 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.2971, allocations: 300.5 kB / 0.9255 GB, free: 13.34 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.2972, allocations: 74.86 kB / 0.9255 GB, free: 13.26 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.2972, allocations: 8 kB / 0.9255 GB, free: 13.25 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2973, allocations: 318 kB / 0.9258 GB, free: 12.94 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.2975, allocations: 72.38 kB / 0.9259 GB, free: 12.87 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.2977, allocations: 146.3 kB / 0.9261 GB, free: 12.69 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.2978, allocations: 90.03 kB / 0.9261 GB, free: 12.61 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.2978, allocations: 0 / 0.9261 GB, free: 12.61 MB / 0.6388 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00272/0.3006, allocations: 0.5519 MB / 0.9267 GB, free: 12.04 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002759/0.3009, allocations: 0.5341 MB / 0.9272 GB, free: 11.47 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3009, allocations: 3.984 kB / 0.9272 GB, free: 11.46 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002928/0.3038, allocations: 343.3 kB / 0.9275 GB, free: 11.13 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.304, allocations: 23.94 kB / 0.9276 GB, free: 11.11 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003996/0.308, allocations: 6.345 MB / 0.9338 GB, free: 4.352 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/0.3086, allocations: 35.94 kB / 0.9338 GB, free: 4.316 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.726e-05/0.3087, allocations: 20.11 kB / 0.9338 GB, free: 4.297 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.3087, allocations: 4 kB / 0.9338 GB, free: 4.293 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002811/0.3115, allocations: 457.9 kB / 0.9342 GB, free: 3.844 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3116, allocations: 3.984 kB / 0.9343 GB, free: 3.84 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.3133, allocations: 292.6 kB / 0.9345 GB, free: 3.551 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.3134, allocations: 31.88 kB / 0.9346 GB, free: 3.52 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004068/0.3175, allocations: 6.338 MB / 0.9408 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006761/0.3181, allocations: 27.97 kB / 0.9408 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.3182, allocations: 12 kB / 0.9408 GB, free: 12.73 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.0005114/0.3187, allocations: 293.1 kB / 0.9411 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.3189, allocations: 75.08 kB / 0.9411 GB, free: 12.36 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.000993/0.3199, allocations: 383.2 kB / 0.9415 GB, free: 12 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.