Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Storage.Examples.ExpansionVessel.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: translateModel(AixLib.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Storage.Examples.ExpansionVessel") translateModel(AixLib.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001738/0.001738, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.14 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.05903/0.05903, allocations: 12.04 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005172/0.0005172, allocations: 23.95 kB / 356.3 MB, free: 13.97 MB / 302.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.917/1.917, allocations: 272.3 MB / 0.6657 GB, free: 18.38 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002187, allocations: 119.8 kB / 0.8935 GB, free: 15.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5675/0.5697, allocations: 109.1 MB / 1 GB, free: 8.27 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.ExpansionVessel): time 0.01432/0.5841, allocations: 14.43 MB / 1.014 GB, free: 12.66 MB / 0.7013 GB Notification: Performance of NFInst.instExpressions: time 0.005432/0.5896, allocations: 3.657 MB / 1.018 GB, free: 9.688 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005431/0.5902, allocations: 16.5 kB / 1.018 GB, free: 9.684 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.5908, allocations: 199.7 kB / 1.018 GB, free: 9.516 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.5921, allocations: 0.5813 MB / 1.019 GB, free: 9.051 MB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008713/0.593, allocations: 398.6 kB / 1.019 GB, free: 8.746 MB / 0.7013 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.5943, allocations: 1.099 MB / 1.02 GB, free: 8.094 MB / 0.7013 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004593/0.5948, allocations: 315.5 kB / 1.02 GB, free: 7.895 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.5958, allocations: 393.9 kB / 1.021 GB, free: 7.676 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.5962, allocations: 311 kB / 1.021 GB, free: 7.488 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.5963, allocations: 35.94 kB / 1.021 GB, free: 7.484 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000602/0.5969, allocations: 266 kB / 1.021 GB, free: 7.348 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.597, allocations: 88.28 kB / 1.021 GB, free: 7.281 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.5973, allocations: 212.5 kB / 1.022 GB, free: 7.145 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.000826/0.5981, allocations: 0.5947 MB / 1.022 GB, free: 6.754 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5981, allocations: 0 / 1.022 GB, free: 6.754 MB / 0.7013 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5981, allocations: 0 / 1.022 GB, free: 6.754 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.5981, allocations: 0 / 1.022 GB, free: 6.754 MB / 0.7013 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001181/0.5993, allocations: 0.7504 MB / 1.023 GB, free: 6.09 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5994, allocations: 9.25 kB / 1.023 GB, free: 6.09 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.5996, allocations: 48.94 kB / 1.023 GB, free: 6.066 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007455/0.6003, allocations: 469.3 kB / 1.023 GB, free: 5.66 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.6004, allocations: 24.16 kB / 1.023 GB, free: 5.648 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.6004, allocations: 33.62 kB / 1.023 GB, free: 5.633 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000575/0.601, allocations: 308.6 kB / 1.024 GB, free: 5.426 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.601, allocations: 1.344 kB / 1.024 GB, free: 5.426 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.6011, allocations: 10.69 kB / 1.024 GB, free: 5.418 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.6011, allocations: 14.77 kB / 1.024 GB, free: 5.41 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.6016, allocations: 194.5 kB / 1.024 GB, free: 5.316 MB / 0.7013 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.001814/0.6034, allocations: 1.484 MB / 1.025 GB, free: 3.938 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.6039, allocations: 158.8 kB / 1.026 GB, free: 3.848 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.6041, allocations: 66.19 kB / 1.026 GB, free: 3.812 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.6042, allocations: 84.17 kB / 1.026 GB, free: 3.719 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002983/0.6045, allocations: 132.3 kB / 1.026 GB, free: 3.617 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.6045, allocations: 3.938 kB / 1.026 GB, free: 3.613 MB / 0.7013 GB Notification: Performance of matching and sorting (n=15): time 0.0006366/0.6052, allocations: 229.5 kB / 1.026 GB, free: 3.492 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.6052, allocations: 62.14 kB / 1.026 GB, free: 3.422 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.6056, allocations: 342.1 kB / 1.026 GB, free: 3.211 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.6056, allocations: 35.05 kB / 1.026 GB, free: 3.172 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.6058, allocations: 220.5 kB / 1.027 GB, free: 2.973 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.6059, allocations: 55.05 kB / 1.027 GB, free: 2.926 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.749e-05/0.606, allocations: 56.86 kB / 1.027 GB, free: 2.883 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6061, allocations: 338.7 kB / 1.027 GB, free: 2.551 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.6063, allocations: 72.28 kB / 1.027 GB, free: 2.516 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.6066, allocations: 153.1 kB / 1.027 GB, free: 2.379 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.607, allocations: 247.2 kB / 1.028 GB, free: 2.18 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.607, allocations: 0 / 1.028 GB, free: 2.18 MB / 0.7013 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006036/0.6076, allocations: 313 kB / 1.028 GB, free: 1.996 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.6077, allocations: 35.23 kB / 1.028 GB, free: 1.965 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.6077, allocations: 2.094 kB / 1.028 GB, free: 1.965 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.6077, allocations: 12.47 kB / 1.028 GB, free: 1.957 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.6079, allocations: 53.59 kB / 1.028 GB, free: 1.945 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.608, allocations: 7.375 kB / 1.028 GB, free: 1.941 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.6082, allocations: 36.33 kB / 1.028 GB, free: 1.918 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.6083, allocations: 13.44 kB / 1.028 GB, free: 1.914 MB / 0.7013 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.6084, allocations: 158.2 kB / 1.028 GB, free: 1.77 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.6085, allocations: 33.03 kB / 1.028 GB, free: 1.754 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/0.609, allocations: 200.3 kB / 1.028 GB, free: 1.629 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000478/0.6094, allocations: 488.1 kB / 1.029 GB, free: 1.133 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.6095, allocations: 1.25 kB / 1.029 GB, free: 1.133 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.6096, allocations: 120.7 kB / 1.029 GB, free: 1.008 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.6096, allocations: 9.281 kB / 1.029 GB, free: 1 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.6099, allocations: 16.92 kB / 1.029 GB, free: 0.9922 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.61, allocations: 22.8 kB / 1.029 GB, free: 0.9766 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005602/0.6105, allocations: 266.3 kB / 1.029 GB, free: 0.7969 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006558/0.6112, allocations: 443.6 kB / 1.03 GB, free: 480 kB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001761/0.6114, allocations: 71.62 kB / 1.03 GB, free: 444 kB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.00024/0.6116, allocations: 251.4 kB / 1.03 GB, free: 288 kB / 0.7013 GB Notification: Performance of Backend: time 4.71e-07/0.6116, allocations: 0 / 1.03 GB, free: 288 kB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.0009391/0.6126, allocations: 368.6 kB / 1.03 GB, free: 40 kB / 0.7013 GB Notification: Performance of SimCode: time 0.001819/0.6144, allocations: 1.33 MB / 1.032 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.01266/0.6271, allocations: 7.424 MB / 1.039 GB, free: 8.285 MB / 0.7169 GB make -j1 -f AixLib_latest_AixLib.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f AixLib_latest_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/AixLib_latest_AixLib.Fluid.Storage.Examples.ExpansionVessel.sim & ./AixLib_latest_AixLib.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)