Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.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-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: translateModel(AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 110.7 kB / 16.42 MB, free: 6.465 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.001534/0.001534, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05591/0.05591, allocations: 12.04 MB / 303.3 MB, free: 3.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005095/0.0005095, allocations: 39.39 kB / 356.3 MB, free: 13.95 MB / 302.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.515/1.515, allocations: 268.2 MB / 0.6617 GB, free: 2.617 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 108.3 kB / 0.888 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4932, allocations: 108.4 MB / 0.9938 GB, free: 1.129 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05228/0.5455, allocations: 56 MB / 1.049 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02333/0.5688, allocations: 17.94 MB / 1.066 GB, free: 6.93 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.5715, allocations: 75.56 kB / 1.066 GB, free: 6.855 MB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.574, allocations: 0.9119 MB / 1.067 GB, free: 5.938 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.006896/0.5809, allocations: 2.62 MB / 1.07 GB, free: 3.305 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.5846, allocations: 1.527 MB / 1.071 GB, free: 1.789 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.02152/0.6061, allocations: 21.26 MB / 1.092 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01473/0.6209, allocations: 10.7 MB / 1.102 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01419/0.6351, allocations: 7.253 MB / 1.109 GB, free: 10.42 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01074/0.6459, allocations: 6.37 MB / 1.116 GB, free: 4.027 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003126/0.6491, allocations: 0.9375 MB / 1.116 GB, free: 3.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006939/0.656, allocations: 1.702 MB / 1.118 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00456/0.6606, allocations: 2.337 MB / 1.12 GB, free: 15.04 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 0.01011/0.6707, allocations: 4.711 MB / 1.125 GB, free: 10.31 MB / 0.8107 GB Notification: Performance of NFConvertDAE.convert: time 0.01761/0.6884, allocations: 13.19 MB / 1.138 GB, free: 13.08 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.6884, allocations: 4 kB / 1.138 GB, free: 13.08 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6885, allocations: 4 kB / 1.138 GB, free: 13.07 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.0004798/0.6889, allocations: 0 / 1.138 GB, free: 13.07 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02304/0.712, allocations: 8.514 MB / 1.146 GB, free: 4.465 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.712, allocations: 8.031 kB / 1.146 GB, free: 4.457 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/0.7161, allocations: 0.8547 MB / 1.147 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/0.7306, allocations: 6.697 MB / 1.154 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004024/0.7311, allocations: 472.3 kB / 1.154 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001832/0.7329, allocations: 0.5936 MB / 1.155 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/0.7526, allocations: 9.021 MB / 1.163 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002091/0.7529, allocations: 23.78 kB / 1.163 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001342/0.7542, allocations: 264 kB / 1.164 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/0.7544, allocations: 179.9 kB / 1.164 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01463/0.7691, allocations: 7.441 MB / 1.171 GB, free: 10.53 MB / 0.8575 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.05368/0.8228, allocations: 36 MB / 1.206 GB, free: 4.465 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0063/0.8291, allocations: 4.29 MB / 1.21 GB, free: 180 kB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004645/0.8338, allocations: 3.302 MB / 1.214 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.8351, allocations: 0.9505 MB / 1.215 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004043/0.8391, allocations: 2.394 MB / 1.217 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002354/0.8415, allocations: 367.9 kB / 1.217 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=317): time 9.728e-06/0.8415, allocations: 4 kB / 1.217 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of matching and sorting (n=317): time 0.01338/0.8549, allocations: 7.132 MB / 1.224 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.855, allocations: 85.91 kB / 1.224 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009848/0.8649, allocations: 5.662 MB / 1.23 GB, free: 11.97 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004153/0.8653, allocations: 85.7 kB / 1.23 GB, free: 11.88 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.003132/0.8684, allocations: 3.2 MB / 1.233 GB, free: 8.648 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.8697, allocations: 1.113 MB / 1.234 GB, free: 7.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/0.8712, allocations: 0.858 MB / 1.235 GB, free: 6.648 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.8713, allocations: 309.1 kB / 1.235 GB, free: 6.344 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/0.8747, allocations: 2.163 MB / 1.237 GB, free: 4.172 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4207/1.295, allocations: 3.693 MB / 1.241 GB, free: 224.3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009515/1.305, allocations: 6.323 MB / 1.247 GB, free: 221.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-05/1.305, allocations: 15.66 kB / 1.247 GB, free: 221.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0115/1.317, allocations: 6.773 MB / 1.254 GB, free: 219.2 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.681e-05/1.317, allocations: 54.17 kB / 1.254 GB, free: 219.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-05/1.317, allocations: 52.3 kB / 1.254 GB, free: 219.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009124/1.318, allocations: 441.2 kB / 1.254 GB, free: 219.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003463/1.321, allocations: 1.004 MB / 1.255 GB, free: 219 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00525/1.326, allocations: 5.699 MB / 1.261 GB, free: 214.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/1.331, allocations: 281.7 kB / 1.261 GB, free: 214.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006067/1.331, allocations: 219 kB / 1.261 GB, free: 214.8 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003922/1.335, allocations: 2.484 MB / 1.264 GB, free: 213.8 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/1.337, allocations: 0.5309 MB / 1.264 GB, free: 213.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008365/1.345, allocations: 5.266 MB / 1.27 GB, free: 211.8 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005664/1.351, allocations: 4.529 MB / 1.274 GB, free: 209.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.351, allocations: 0 / 1.274 GB, free: 209.9 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003/1.354, allocations: 1.179 MB / 1.275 GB, free: 209.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/1.355, allocations: 67.16 kB / 1.275 GB, free: 209.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003536/1.359, allocations: 200.4 kB / 1.275 GB, free: 209.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004604/1.359, allocations: 210.6 kB / 1.276 GB, free: 209.2 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008606/1.368, allocations: 5.245 MB / 1.281 GB, free: 204.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009369/1.377, allocations: 7.917 MB / 1.288 GB, free: 196.9 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00232/1.38, allocations: 2.227 MB / 1.291 GB, free: 194.7 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.005787/1.386, allocations: 3.962 MB / 1.294 GB, free: 190.7 MB / 0.92 GB Notification: Performance of Backend: time 5.01e-07/1.386, allocations: 0 / 1.294 GB, free: 190.7 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008563/1.394, allocations: 4.114 MB / 1.298 GB, free: 186.7 MB / 0.92 GB Notification: Performance of SimCode: time 0.0255/1.42, allocations: 15.45 MB / 1.314 GB, free: 171.4 MB / 0.92 GB Notification: Performance of Templates: time 0.1389/1.559, allocations: 118.2 MB / 1.429 GB, free: 54.09 MB / 0.92 GB make -j1 -f AixLib_AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f AixLib_AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo AixLib_AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/AixLib_AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./AixLib_AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)