Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel") translateModel(AixLib.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001167/0.001167, allocations: 114.3 kB / 16.42 MB, free: 6.016 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.001133/0.001133, allocations: 183.7 kB / 17.35 MB, free: 5.633 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.15 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.05958/0.05958, allocations: 12.04 MB / 303.3 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005186/0.0005187, allocations: 31.94 kB / 356.3 MB, free: 13.98 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.499/1.499, allocations: 268.2 MB / 0.6617 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 107.8 kB / 0.888 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5349, allocations: 108.4 MB / 0.9938 GB, free: 11.95 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.ExpansionVessel): time 0.01188/0.5468, allocations: 14.44 MB / 1.008 GB, free: 344 kB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.004719/0.5515, allocations: 3.65 MB / 1.011 GB, free: 13.37 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003072/0.5518, allocations: 20 kB / 1.011 GB, free: 13.36 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.0005494/0.5524, allocations: 207.3 kB / 1.012 GB, free: 13.19 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.5536, allocations: 0.6155 MB / 1.012 GB, free: 12.7 MB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008116/0.5545, allocations: 393.7 kB / 1.013 GB, free: 12.4 MB / 0.7013 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.5556, allocations: 1.097 MB / 1.014 GB, free: 11.75 MB / 0.7013 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004133/0.556, allocations: 320.9 kB / 1.014 GB, free: 11.55 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008679/0.5569, allocations: 400.3 kB / 1.014 GB, free: 11.32 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.5573, allocations: 313.9 kB / 1.015 GB, free: 11.13 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.5574, allocations: 33.19 kB / 1.015 GB, free: 11.13 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005016/0.5579, allocations: 257.5 kB / 1.015 GB, free: 11 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.558, allocations: 96.02 kB / 1.015 GB, free: 10.93 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.5582, allocations: 212.8 kB / 1.015 GB, free: 10.79 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.0007354/0.559, allocations: 0.5905 MB / 1.016 GB, free: 10.41 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.559, allocations: 3.938 kB / 1.016 GB, free: 10.4 MB / 0.7013 GB Notification: Performance of FrontEnd: time 1.482e-06/0.559, allocations: 0 / 1.016 GB, free: 10.4 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.559, allocations: 4 kB / 1.016 GB, free: 10.4 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.00117/0.5602, allocations: 0.7526 MB / 1.017 GB, free: 9.734 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.5602, allocations: 8.875 kB / 1.017 GB, free: 9.734 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.5604, allocations: 49.91 kB / 1.017 GB, free: 9.711 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.5611, allocations: 469.3 kB / 1.017 GB, free: 9.305 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.5612, allocations: 27.33 kB / 1.017 GB, free: 9.289 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.5612, allocations: 26.19 kB / 1.017 GB, free: 9.281 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/0.5618, allocations: 312.5 kB / 1.017 GB, free: 9.066 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.5618, allocations: 0 / 1.017 GB, free: 9.066 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.5619, allocations: 11.56 kB / 1.017 GB, free: 9.059 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.5619, allocations: 6.625 kB / 1.017 GB, free: 9.059 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.5624, allocations: 195.5 kB / 1.018 GB, free: 8.965 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.002035/0.5644, allocations: 1.489 MB / 1.019 GB, free: 7.582 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.565, allocations: 148.6 kB / 1.019 GB, free: 7.5 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.5652, allocations: 69.12 kB / 1.019 GB, free: 7.461 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/0.5655, allocations: 92.5 kB / 1.019 GB, free: 7.359 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004203/0.5659, allocations: 121.5 kB / 1.02 GB, free: 7.27 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.5659, allocations: 3.938 kB / 1.02 GB, free: 7.266 MB / 0.7013 GB Notification: Performance of matching and sorting (n=15): time 0.0008294/0.5667, allocations: 239.1 kB / 1.02 GB, free: 7.137 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.5668, allocations: 57.66 kB / 1.02 GB, free: 7.07 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005523/0.5674, allocations: 351 kB / 1.02 GB, free: 6.852 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.5674, allocations: 31.52 kB / 1.02 GB, free: 6.816 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.5677, allocations: 219.6 kB / 1.02 GB, free: 6.617 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.5678, allocations: 46.02 kB / 1.02 GB, free: 6.578 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.5679, allocations: 53.48 kB / 1.021 GB, free: 6.539 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0002191/0.5681, allocations: 347.5 kB / 1.021 GB, free: 6.199 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.5683, allocations: 71.73 kB / 1.021 GB, free: 6.164 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.5686, allocations: 146.6 kB / 1.021 GB, free: 6.035 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/0.5691, allocations: 242.6 kB / 1.021 GB, free: 5.836 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.5691, allocations: 0 / 1.021 GB, free: 5.836 MB / 0.7013 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006879/0.5698, allocations: 313.7 kB / 1.022 GB, free: 5.652 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.5699, allocations: 39.95 kB / 1.022 GB, free: 5.613 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.5699, allocations: 3.156 kB / 1.022 GB, free: 5.613 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.5699, allocations: 7.344 kB / 1.022 GB, free: 5.609 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.5702, allocations: 58.72 kB / 1.022 GB, free: 5.594 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.5702, allocations: 11.61 kB / 1.022 GB, free: 5.586 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.5705, allocations: 32 kB / 1.022 GB, free: 5.566 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.5705, allocations: 13.27 kB / 1.022 GB, free: 5.562 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.0002129/0.5707, allocations: 158.2 kB / 1.022 GB, free: 5.418 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.5708, allocations: 32.16 kB / 1.022 GB, free: 5.402 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005484/0.5714, allocations: 195.3 kB / 1.022 GB, free: 5.281 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006553/0.572, allocations: 494.1 kB / 1.023 GB, free: 4.781 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.572, allocations: 0 / 1.023 GB, free: 4.781 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.5722, allocations: 125.6 kB / 1.023 GB, free: 4.652 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.5723, allocations: 5.312 kB / 1.023 GB, free: 4.648 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.5725, allocations: 20.08 kB / 1.023 GB, free: 4.637 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.5726, allocations: 15.45 kB / 1.023 GB, free: 4.629 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006127/0.5732, allocations: 264.1 kB / 1.023 GB, free: 4.449 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007335/0.574, allocations: 448.7 kB / 1.023 GB, free: 4.117 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001911/0.5742, allocations: 68.94 kB / 1.023 GB, free: 4.082 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0002974/0.5745, allocations: 251.6 kB / 1.024 GB, free: 3.93 MB / 0.7013 GB Notification: Performance of Backend: time 5.61e-07/0.5745, allocations: 0 / 1.024 GB, free: 3.93 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.5756, allocations: 364.6 kB / 1.024 GB, free: 3.691 MB / 0.7013 GB Notification: Performance of SimCode: time 0.00192/0.5775, allocations: 1.333 MB / 1.025 GB, free: 2.637 MB / 0.7013 GB Notification: Performance of Templates: time 0.01252/0.59, allocations: 7.439 MB / 1.033 GB, free: 14.17 MB / 0.7169 GB make -j1 -f AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.sim & ./AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)