Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck") translateModel(AixLib.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001163/0.001163, allocations: 109.7 kB / 16.42 MB, free: 5.977 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.001234/0.001234, allocations: 184.9 kB / 17.35 MB, free: 5.582 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.358/1.358, 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.0592/0.0592, allocations: 12.06 MB / 303.3 MB, free: 3.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005573/0.0005572, allocations: 35.89 kB / 356.3 MB, free: 13.95 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.896/1.896, allocations: 272.3 MB / 0.6657 GB, free: 18.44 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 119.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4843, allocations: 109.1 MB / 1 GB, free: 8.078 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterDerivativeCheck): time 0.001831/0.4862, allocations: 1.255 MB / 1.001 GB, free: 7.086 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.4889, allocations: 3.259 MB / 1.005 GB, free: 4.41 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.4889, allocations: 0 / 1.005 GB, free: 4.41 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.4889, allocations: 3.938 kB / 1.005 GB, free: 4.406 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 3.976e-05/0.489, allocations: 5.203 kB / 1.005 GB, free: 4.402 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.4894, allocations: 119 kB / 1.005 GB, free: 4.312 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 6.706e-05/0.4895, allocations: 33.28 kB / 1.005 GB, free: 4.297 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.4895, allocations: 2.312 kB / 1.005 GB, free: 4.297 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.4896, allocations: 25.61 kB / 1.005 GB, free: 4.281 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.4896, allocations: 17.66 kB / 1.005 GB, free: 4.27 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.4897, allocations: 2.344 kB / 1.005 GB, free: 4.27 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.4899, allocations: 73.06 kB / 1.005 GB, free: 4.23 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.4899, allocations: 14.23 kB / 1.005 GB, free: 4.219 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.4899, allocations: 11.09 kB / 1.005 GB, free: 4.215 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.4901, allocations: 70.42 kB / 1.005 GB, free: 4.18 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4901, allocations: 4 kB / 1.005 GB, free: 4.176 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4901, allocations: 0 / 1.005 GB, free: 4.176 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.4901, allocations: 1.031 kB / 1.005 GB, free: 4.176 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.0003077/0.4904, allocations: 355.9 kB / 1.005 GB, free: 3.797 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.4905, allocations: 9.188 kB / 1.005 GB, free: 3.797 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.4906, allocations: 3.875 kB / 1.005 GB, free: 3.797 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.38e-05/0.4906, allocations: 161.6 kB / 1.005 GB, free: 3.602 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.4906, allocations: 6.969 kB / 1.005 GB, free: 3.598 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.4907, allocations: 10.91 kB / 1.005 GB, free: 3.59 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.4908, allocations: 58.95 kB / 1.005 GB, free: 3.539 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.4908, allocations: 0 / 1.005 GB, free: 3.539 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.4908, allocations: 0.875 kB / 1.005 GB, free: 3.539 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4908, allocations: 1.562 kB / 1.005 GB, free: 3.539 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.11e-05/0.4909, allocations: 21.59 kB / 1.005 GB, free: 3.527 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.491, allocations: 170.1 kB / 1.006 GB, free: 3.32 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 7.852e-05/0.4911, allocations: 52.09 kB / 1.006 GB, free: 3.281 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.4911, allocations: 24.56 kB / 1.006 GB, free: 3.262 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005138/0.4916, allocations: 0.5892 MB / 1.006 GB, free: 2.605 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.4917, allocations: 31.72 kB / 1.006 GB, free: 2.566 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.4917, allocations: 0 / 1.006 GB, free: 2.566 MB / 0.6857 GB Notification: Performance of matching and sorting (n=7): time 0.0005085/0.4922, allocations: 304.3 kB / 1.007 GB, free: 2.27 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.593e-05/0.4922, allocations: 52.53 kB / 1.007 GB, free: 2.207 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.903e-05/0.4923, allocations: 101.2 kB / 1.007 GB, free: 2.102 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.4923, allocations: 26.86 kB / 1.007 GB, free: 2.07 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.237e-05/0.4923, allocations: 89.09 kB / 1.007 GB, free: 1.98 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.4923, allocations: 27.2 kB / 1.007 GB, free: 1.957 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.4924, allocations: 25.66 kB / 1.007 GB, free: 1.934 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.606e-05/0.4924, allocations: 327.7 kB / 1.007 GB, free: 1.605 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.4924, allocations: 16.47 kB / 1.007 GB, free: 1.598 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/0.4925, allocations: 56.67 kB / 1.007 GB, free: 1.535 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.005e-05/0.4925, allocations: 78.98 kB / 1.007 GB, free: 1.461 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.4926, allocations: 0 / 1.007 GB, free: 1.461 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001185/0.4927, allocations: 98.77 kB / 1.007 GB, free: 1.395 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.4927, allocations: 5.594 kB / 1.007 GB, free: 1.395 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4927, allocations: 2.25 kB / 1.007 GB, free: 1.395 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4927, allocations: 2.188 kB / 1.007 GB, free: 1.395 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.4928, allocations: 19.69 kB / 1.007 GB, free: 1.391 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.4928, allocations: 6.641 kB / 1.007 GB, free: 1.387 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.4929, allocations: 6.5 kB / 1.008 GB, free: 1.383 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4929, allocations: 7.531 kB / 1.008 GB, free: 1.379 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.542e-05/0.4929, allocations: 116.9 kB / 1.008 GB, free: 1.258 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.493, allocations: 6.672 kB / 1.008 GB, free: 1.254 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.493, allocations: 8.969 kB / 1.008 GB, free: 1.25 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.493, allocations: 0 / 1.008 GB, free: 1.25 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.493, allocations: 1.5 kB / 1.008 GB, free: 1.25 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.493, allocations: 82.47 kB / 1.008 GB, free: 1.152 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.493, allocations: 13.16 kB / 1.008 GB, free: 1.141 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4932, allocations: 6.969 kB / 1.008 GB, free: 1.137 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.4932, allocations: 6.641 kB / 1.008 GB, free: 1.133 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000126/0.4933, allocations: 138 kB / 1.008 GB, free: 1.012 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001489/0.4935, allocations: 258.1 kB / 1.008 GB, free: 0.7734 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.961e-05/0.4935, allocations: 16.69 kB / 1.008 GB, free: 0.7656 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.49e-05/0.4935, allocations: 85.47 kB / 1.008 GB, free: 0.6836 MB / 0.6857 GB Notification: Performance of Backend: time 2e-07/0.4935, allocations: 0 / 1.008 GB, free: 0.6836 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.4939, allocations: 144.4 kB / 1.008 GB, free: 0.5859 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0005172/0.4945, allocations: 0.7631 MB / 1.009 GB, free: 15.84 MB / 0.7013 GB Notification: Performance of Templates: time 0.003188/0.4977, allocations: 1.006 MB / 1.01 GB, free: 15.3 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck.makefile (rm -f AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck.pipe >> ../files/AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck.sim & ./AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck.pipe 2>&1)