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.001268/0.001268, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.001162/0.001162, allocations: 189.5 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.302/1.302, allocations: 222.9 MB / 241.1 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.0572/0.0572, allocations: 12.05 MB / 303.3 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005141/0.0005141, allocations: 46.67 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.849/1.849, allocations: 272.3 MB / 0.6657 GB, free: 18.4 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 115.8 kB / 0.8935 GB, free: 15.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4729, allocations: 109.1 MB / 1 GB, free: 8.219 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterDerivativeCheck): time 0.001916/0.4748, allocations: 1.259 MB / 1.001 GB, free: 7.223 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.4777, allocations: 3.255 MB / 1.004 GB, free: 4.551 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.4777, allocations: 5.062 kB / 1.005 GB, free: 4.547 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.4778, allocations: 3.938 kB / 1.005 GB, free: 4.543 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.4778, allocations: 9.094 kB / 1.005 GB, free: 4.535 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.4783, allocations: 100.9 kB / 1.005 GB, free: 4.461 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.4783, allocations: 34.53 kB / 1.005 GB, free: 4.445 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.128e-05/0.4784, allocations: 1.156 kB / 1.005 GB, free: 4.445 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.4784, allocations: 29.53 kB / 1.005 GB, free: 4.426 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.4785, allocations: 10.94 kB / 1.005 GB, free: 4.422 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.4785, allocations: 5.219 kB / 1.005 GB, free: 4.418 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.4787, allocations: 77.52 kB / 1.005 GB, free: 4.375 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.4787, allocations: 10.36 kB / 1.005 GB, free: 4.367 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.4788, allocations: 14.83 kB / 1.005 GB, free: 4.359 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.4789, allocations: 70.94 kB / 1.005 GB, free: 4.324 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4789, allocations: 0 / 1.005 GB, free: 4.324 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4789, allocations: 0 / 1.005 GB, free: 4.324 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.479, allocations: 1.031 kB / 1.005 GB, free: 4.324 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.4793, allocations: 347.1 kB / 1.005 GB, free: 3.957 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4793, allocations: 13.03 kB / 1.005 GB, free: 3.953 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.4794, allocations: 12.73 kB / 1.005 GB, free: 3.945 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.264e-05/0.4795, allocations: 165.6 kB / 1.005 GB, free: 3.746 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.4795, allocations: 5.531 kB / 1.005 GB, free: 3.742 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.4795, allocations: 12.59 kB / 1.005 GB, free: 3.734 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.4797, allocations: 53.05 kB / 1.005 GB, free: 3.688 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4797, allocations: 1.469 kB / 1.005 GB, free: 3.688 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4797, allocations: 4 kB / 1.005 GB, free: 3.684 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4797, allocations: 0.875 kB / 1.005 GB, free: 3.684 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.054e-05/0.4798, allocations: 18.36 kB / 1.005 GB, free: 3.676 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.4799, allocations: 166.1 kB / 1.006 GB, free: 3.473 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 8.022e-05/0.48, allocations: 51.62 kB / 1.006 GB, free: 3.434 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.48, allocations: 19.72 kB / 1.006 GB, free: 3.418 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005358/0.4805, allocations: 0.5977 MB / 1.006 GB, free: 2.754 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.4806, allocations: 40.84 kB / 1.006 GB, free: 2.707 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.4806, allocations: 0 / 1.006 GB, free: 2.707 MB / 0.6857 GB Notification: Performance of matching and sorting (n=7): time 0.0004787/0.4811, allocations: 292.1 kB / 1.007 GB, free: 2.422 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.29e-05/0.4811, allocations: 51.41 kB / 1.007 GB, free: 2.359 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.567e-05/0.4811, allocations: 98.47 kB / 1.007 GB, free: 2.258 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.4812, allocations: 30.64 kB / 1.007 GB, free: 2.223 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.211e-05/0.4812, allocations: 93.14 kB / 1.007 GB, free: 2.129 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.4812, allocations: 27.3 kB / 1.007 GB, free: 2.105 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.4812, allocations: 25.34 kB / 1.007 GB, free: 2.082 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.695e-05/0.4813, allocations: 327.7 kB / 1.007 GB, free: 1.754 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.4813, allocations: 11.66 kB / 1.007 GB, free: 1.75 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.982e-05/0.4814, allocations: 61.36 kB / 1.007 GB, free: 1.684 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.406e-05/0.4814, allocations: 78.08 kB / 1.007 GB, free: 1.609 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4814, allocations: 1.156 kB / 1.007 GB, free: 1.609 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001188/0.4816, allocations: 90.5 kB / 1.007 GB, free: 1.551 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.4816, allocations: 9.484 kB / 1.007 GB, free: 1.547 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4816, allocations: 1.094 kB / 1.007 GB, free: 1.547 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4816, allocations: 2.219 kB / 1.007 GB, free: 1.547 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.4817, allocations: 21.09 kB / 1.007 GB, free: 1.543 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.4817, allocations: 1.5 kB / 1.007 GB, free: 1.543 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.848e-05/0.4818, allocations: 6.406 kB / 1.007 GB, free: 1.539 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.4818, allocations: 7.781 kB / 1.007 GB, free: 1.535 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.955e-05/0.4818, allocations: 122.3 kB / 1.008 GB, free: 1.41 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.4819, allocations: 10.53 kB / 1.008 GB, free: 1.402 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.4819, allocations: 7.969 kB / 1.008 GB, free: 1.398 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4819, allocations: 1.312 kB / 1.008 GB, free: 1.398 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.4819, allocations: 448 / 1.008 GB, free: 1.398 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.4819, allocations: 83.44 kB / 1.008 GB, free: 1.301 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.482, allocations: 9.375 kB / 1.008 GB, free: 1.293 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.4821, allocations: 9.406 kB / 1.008 GB, free: 1.285 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.4821, allocations: 2.688 kB / 1.008 GB, free: 1.285 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001344/0.4822, allocations: 146.3 kB / 1.008 GB, free: 1.156 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001649/0.4824, allocations: 258.2 kB / 1.008 GB, free: 0.918 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.322e-05/0.4825, allocations: 20.83 kB / 1.008 GB, free: 0.9062 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.91e-05/0.4825, allocations: 81.77 kB / 1.008 GB, free: 0.8281 MB / 0.6857 GB Notification: Performance of Backend: time 2.4e-07/0.4825, allocations: 0 / 1.008 GB, free: 0.8281 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.4829, allocations: 141.7 kB / 1.008 GB, free: 0.7305 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0005138/0.4834, allocations: 0.7558 MB / 1.009 GB, free: 15.99 MB / 0.7013 GB Notification: Performance of Templates: time 0.003284/0.4867, allocations: 1.002 MB / 1.01 GB, free: 15.46 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)