Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterDerivativeCheck") translateModel(AixLib.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001135, allocations: 115.4 kB / 16.42 MB, free: 6.473 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.00114/0.00114, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.34/1.34, 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.05885/0.05885, allocations: 12.04 MB / 303.2 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005409/0.0005409, allocations: 23.97 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.53/1.53, allocations: 268.2 MB / 0.6617 GB, free: 2.602 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 111.8 kB / 0.888 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5062, allocations: 108.4 MB / 0.9938 GB, free: 11.87 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterDerivativeCheck): time 0.001834/0.5081, allocations: 1.253 MB / 0.995 GB, free: 10.88 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.002676/0.5107, allocations: 3.262 MB / 0.9982 GB, free: 8.195 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.5108, allocations: 0 / 0.9982 GB, free: 8.195 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.5108, allocations: 1.25 kB / 0.9982 GB, free: 8.195 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.5109, allocations: 3.938 kB / 0.9982 GB, free: 8.191 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.5113, allocations: 103.2 kB / 0.9983 GB, free: 8.117 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 6.976e-05/0.5114, allocations: 45.17 kB / 0.9984 GB, free: 8.09 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.306e-05/0.5114, allocations: 6.188 kB / 0.9984 GB, free: 8.086 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.5115, allocations: 14.28 kB / 0.9984 GB, free: 8.082 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.5115, allocations: 17.72 kB / 0.9984 GB, free: 8.07 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.5115, allocations: 1.719 kB / 0.9984 GB, free: 8.07 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.5117, allocations: 72.75 kB / 0.9985 GB, free: 8.031 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.5118, allocations: 19.22 kB / 0.9985 GB, free: 8.016 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.5118, allocations: 11 kB / 0.9985 GB, free: 8.012 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.512, allocations: 70.3 kB / 0.9986 GB, free: 7.977 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.512, allocations: 4 kB / 0.9986 GB, free: 7.973 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.774e-06/0.512, allocations: 9.312 kB / 0.9986 GB, free: 7.965 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.512, allocations: 0 / 0.9986 GB, free: 7.965 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003032/0.5123, allocations: 346.4 kB / 0.9989 GB, free: 7.598 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.5124, allocations: 9.656 kB / 0.9989 GB, free: 7.598 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.559e-05/0.5125, allocations: 12.14 kB / 0.9989 GB, free: 7.59 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.259e-05/0.5125, allocations: 165.5 kB / 0.9991 GB, free: 7.391 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.5125, allocations: 6.5 kB / 0.9991 GB, free: 7.387 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.5126, allocations: 3.812 kB / 0.9991 GB, free: 7.387 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.5127, allocations: 61.58 kB / 0.9991 GB, free: 7.332 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.5127, allocations: 1.156 kB / 0.9991 GB, free: 7.332 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.5127, allocations: 0 / 0.9991 GB, free: 7.332 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.5127, allocations: 0.9375 kB / 0.9991 GB, free: 7.332 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.5128, allocations: 19.08 kB / 0.9992 GB, free: 7.324 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.5129, allocations: 161 kB / 0.9993 GB, free: 7.125 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 7.775e-05/0.513, allocations: 52.5 kB / 0.9994 GB, free: 7.086 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.513, allocations: 19.97 kB / 0.9994 GB, free: 7.07 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005215/0.5136, allocations: 0.6013 MB / 1 GB, free: 6.402 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.5136, allocations: 32.66 kB / 1 GB, free: 6.363 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.5136, allocations: 0 / 1 GB, free: 6.363 MB / 0.6857 GB Notification: Performance of matching and sorting (n=7): time 0.0005025/0.5141, allocations: 295.9 kB / 1 GB, free: 6.074 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.382e-05/0.5141, allocations: 55.41 kB / 1 GB, free: 6.008 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.883e-05/0.5142, allocations: 103 kB / 1 GB, free: 5.902 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.5142, allocations: 25.7 kB / 1 GB, free: 5.871 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.5142, allocations: 93.52 kB / 1.001 GB, free: 5.777 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.5142, allocations: 30.89 kB / 1.001 GB, free: 5.75 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.5143, allocations: 21.88 kB / 1.001 GB, free: 5.73 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.525e-05/0.5143, allocations: 319.9 kB / 1.001 GB, free: 5.41 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.5143, allocations: 15.77 kB / 1.001 GB, free: 5.402 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-05/0.5144, allocations: 56.95 kB / 1.001 GB, free: 5.34 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.305e-05/0.5145, allocations: 78.55 kB / 1.001 GB, free: 5.266 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5145, allocations: 0.9688 kB / 1.001 GB, free: 5.266 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001287/0.5146, allocations: 94.23 kB / 1.001 GB, free: 5.203 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5146, allocations: 10.47 kB / 1.001 GB, free: 5.199 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5146, allocations: 1.234 kB / 1.001 GB, free: 5.199 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5147, allocations: 6.109 kB / 1.001 GB, free: 5.195 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.5147, allocations: 17.09 kB / 1.001 GB, free: 5.195 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.5148, allocations: 6.047 kB / 1.001 GB, free: 5.191 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.5148, allocations: 1.156 kB / 1.001 GB, free: 5.191 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.5148, allocations: 12.59 kB / 1.001 GB, free: 5.184 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 4.8e-05/0.5149, allocations: 121.1 kB / 1.001 GB, free: 5.059 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.5149, allocations: 10.11 kB / 1.001 GB, free: 5.051 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.5149, allocations: 13.12 kB / 1.001 GB, free: 5.043 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5149, allocations: 0 / 1.001 GB, free: 5.043 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.515, allocations: 448 / 1.001 GB, free: 5.043 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.515, allocations: 84.45 kB / 1.001 GB, free: 4.945 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.515, allocations: 7.922 kB / 1.001 GB, free: 4.938 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5151, allocations: 10.34 kB / 1.001 GB, free: 4.93 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.5152, allocations: 2.219 kB / 1.001 GB, free: 4.93 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001327/0.5153, allocations: 146.7 kB / 1.002 GB, free: 4.801 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001602/0.5155, allocations: 258.8 kB / 1.002 GB, free: 4.562 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.184e-05/0.5155, allocations: 16.03 kB / 1.002 GB, free: 4.555 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.757e-05/0.5155, allocations: 77.66 kB / 1.002 GB, free: 4.48 MB / 0.6857 GB Notification: Performance of Backend: time 3.7e-07/0.5155, allocations: 0 / 1.002 GB, free: 4.48 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.516, allocations: 138.2 kB / 1.002 GB, free: 4.387 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004817/0.5165, allocations: 0.7669 MB / 1.003 GB, free: 3.633 MB / 0.6857 GB Notification: Performance of Templates: time 0.003065/0.5195, allocations: 1.012 MB / 1.004 GB, free: 3.102 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Media.Examples.WaterDerivativeCheck.makefile (rm -f AixLib_AixLib.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.WaterDerivativeCheck.pipe >> ../files/AixLib_AixLib.Media.Examples.WaterDerivativeCheck.sim & ./AixLib_AixLib.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Media.Examples.WaterDerivativeCheck.pipe 2>&1)