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.001479/0.001479, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.00167/0.00167, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.2 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.05682/0.05682, allocations: 12.04 MB / 303.3 MB, free: 3.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005871/0.0005868, allocations: 31.88 kB / 356.3 MB, free: 13.99 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.905/1.905, allocations: 272.3 MB / 0.6657 GB, free: 18.29 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 115.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5473/0.5495, allocations: 109.1 MB / 1 GB, free: 8.453 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.ExpansionVessel): time 0.0153/0.5649, allocations: 14.43 MB / 1.014 GB, free: 12.85 MB / 0.7013 GB Notification: Performance of NFInst.instExpressions: time 0.005421/0.5703, allocations: 3.651 MB / 1.018 GB, free: 9.875 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007112/0.5711, allocations: 20.34 kB / 1.018 GB, free: 9.867 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.0007109/0.5718, allocations: 210.8 kB / 1.018 GB, free: 9.691 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.5737, allocations: 0.6164 MB / 1.019 GB, free: 9.203 MB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.5749, allocations: 393.2 kB / 1.019 GB, free: 8.902 MB / 0.7013 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.5766, allocations: 1.089 MB / 1.02 GB, free: 8.262 MB / 0.7013 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005688/0.5772, allocations: 316.2 kB / 1.02 GB, free: 8.059 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.5784, allocations: 408.2 kB / 1.021 GB, free: 7.828 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006538/0.579, allocations: 306.5 kB / 1.021 GB, free: 7.645 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.5792, allocations: 32.72 kB / 1.021 GB, free: 7.645 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007763/0.5799, allocations: 256.9 kB / 1.021 GB, free: 7.516 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.5801, allocations: 95.89 kB / 1.021 GB, free: 7.441 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.5804, allocations: 213.9 kB / 1.022 GB, free: 7.305 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.5815, allocations: 0.5979 MB / 1.022 GB, free: 6.906 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5815, allocations: 1.094 kB / 1.022 GB, free: 6.906 MB / 0.7013 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5815, allocations: 0 / 1.022 GB, free: 6.906 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 2.159e-05/0.5816, allocations: 4 kB / 1.022 GB, free: 6.902 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.001393/0.583, allocations: 0.7614 MB / 1.023 GB, free: 6.227 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.583, allocations: 8.688 kB / 1.023 GB, free: 6.227 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.5833, allocations: 55.11 kB / 1.023 GB, free: 6.199 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/0.5841, allocations: 461 kB / 1.023 GB, free: 5.801 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.5841, allocations: 23.34 kB / 1.023 GB, free: 5.789 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/0.5842, allocations: 29.73 kB / 1.023 GB, free: 5.777 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005932/0.5848, allocations: 313.2 kB / 1.024 GB, free: 5.566 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.5848, allocations: 3.938 kB / 1.024 GB, free: 5.562 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.5849, allocations: 12.12 kB / 1.024 GB, free: 5.555 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.5849, allocations: 6.656 kB / 1.024 GB, free: 5.555 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.5854, allocations: 194.5 kB / 1.024 GB, free: 5.461 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.001873/0.5873, allocations: 1.484 MB / 1.025 GB, free: 4.082 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.5877, allocations: 158.5 kB / 1.026 GB, free: 3.992 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.5879, allocations: 68.58 kB / 1.026 GB, free: 3.957 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.588, allocations: 92.22 kB / 1.026 GB, free: 3.855 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.5884, allocations: 120.7 kB / 1.026 GB, free: 3.766 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=15): time 1.923e-06/0.5884, allocations: 1.125 kB / 1.026 GB, free: 3.766 MB / 0.7013 GB Notification: Performance of matching and sorting (n=15): time 0.0006584/0.589, allocations: 242.8 kB / 1.026 GB, free: 3.633 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.5891, allocations: 57.59 kB / 1.026 GB, free: 3.566 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.5895, allocations: 357.6 kB / 1.026 GB, free: 3.34 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.5895, allocations: 32.17 kB / 1.027 GB, free: 3.305 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.5897, allocations: 220.4 kB / 1.027 GB, free: 3.105 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.5897, allocations: 55.12 kB / 1.027 GB, free: 3.059 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.5898, allocations: 53.09 kB / 1.027 GB, free: 3.02 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5899, allocations: 346.5 kB / 1.027 GB, free: 2.68 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.5901, allocations: 68.17 kB / 1.027 GB, free: 2.648 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.5904, allocations: 149.2 kB / 1.027 GB, free: 2.516 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.5908, allocations: 249.5 kB / 1.028 GB, free: 2.312 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5908, allocations: 5.094 kB / 1.028 GB, free: 2.309 MB / 0.7013 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006254/0.5914, allocations: 309.6 kB / 1.028 GB, free: 2.129 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.5915, allocations: 32.67 kB / 1.028 GB, free: 2.098 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.5915, allocations: 3.156 kB / 1.028 GB, free: 2.098 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.5915, allocations: 14.81 kB / 1.028 GB, free: 2.086 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.5918, allocations: 58.66 kB / 1.028 GB, free: 2.07 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5918, allocations: 8.031 kB / 1.028 GB, free: 2.066 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.5921, allocations: 31.55 kB / 1.028 GB, free: 2.047 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.5921, allocations: 9.406 kB / 1.028 GB, free: 2.047 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.0001645/0.5923, allocations: 167.2 kB / 1.028 GB, free: 1.895 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.5923, allocations: 35.08 kB / 1.028 GB, free: 1.875 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.5928, allocations: 188 kB / 1.028 GB, free: 1.762 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004611/0.5933, allocations: 498.5 kB / 1.029 GB, free: 1.258 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.5933, allocations: 5.25 kB / 1.029 GB, free: 1.254 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.5934, allocations: 125.3 kB / 1.029 GB, free: 1.125 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.5935, allocations: 1.438 kB / 1.029 GB, free: 1.125 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.5937, allocations: 16.11 kB / 1.029 GB, free: 1.117 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.5938, allocations: 18.69 kB / 1.029 GB, free: 1.105 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005486/0.5944, allocations: 264.7 kB / 1.029 GB, free: 0.9258 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006631/0.595, allocations: 442.2 kB / 1.03 GB, free: 0.5977 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001761/0.5952, allocations: 72.39 kB / 1.03 GB, free: 0.5625 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0002544/0.5955, allocations: 248 kB / 1.03 GB, free: 424 kB / 0.7013 GB Notification: Performance of Backend: time 7.82e-07/0.5955, allocations: 0 / 1.03 GB, free: 424 kB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.0009389/0.5964, allocations: 366.2 kB / 1.03 GB, free: 180 kB / 0.7013 GB Notification: Performance of SimCode: time 0.001913/0.5984, allocations: 1.362 MB / 1.032 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of Templates: time 0.01321/0.6116, allocations: 7.43 MB / 1.039 GB, free: 8.336 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)