Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 112.3 kB / 16.42 MB, free: 6.516 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.001102/0.001102, allocations: 187.9 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.19/1.19, allocations: 222.9 MB / 241 MB, free: 15.16 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.05347/0.05347, allocations: 12.05 MB / 303.3 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.0004838/0.0004839, 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.375/1.375, allocations: 268.2 MB / 0.6617 GB, free: 2.656 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 103.8 kB / 0.888 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4174, allocations: 108.4 MB / 0.9938 GB, free: 1.125 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001327/0.4188, allocations: 0.5331 MB / 0.9943 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0005081/0.4193, allocations: 322.9 kB / 0.9946 GB, free: 284 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.4194, allocations: 4 kB / 0.9946 GB, free: 280 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 9.778e-06/0.4194, allocations: 0 / 0.9946 GB, free: 280 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 2.334e-05/0.4194, allocations: 3.938 kB / 0.9947 GB, free: 276 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.4197, allocations: 91.77 kB / 0.9947 GB, free: 184 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 4.483e-05/0.4198, allocations: 19.86 kB / 0.9948 GB, free: 164 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.4198, allocations: 4 kB / 0.9948 GB, free: 160 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 2.221e-05/0.4199, allocations: 8 kB / 0.9948 GB, free: 152 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.4199, allocations: 3.984 kB / 0.9948 GB, free: 148 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.719e-06/0.4199, allocations: 0 / 0.9948 GB, free: 148 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.4202, allocations: 187.8 kB / 0.995 GB, free: 15.96 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.4202, allocations: 7.938 kB / 0.995 GB, free: 15.95 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.4202, allocations: 4 kB / 0.995 GB, free: 15.95 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.4204, allocations: 79.8 kB / 0.995 GB, free: 15.87 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4204, allocations: 0 / 0.995 GB, free: 15.87 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4204, allocations: 0 / 0.995 GB, free: 15.87 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.4204, allocations: 0 / 0.995 GB, free: 15.87 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002749/0.4207, allocations: 347.4 kB / 0.9954 GB, free: 15.48 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.4207, allocations: 8.031 kB / 0.9954 GB, free: 15.48 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.4207, allocations: 4.844 kB / 0.9954 GB, free: 15.47 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.458e-05/0.4208, allocations: 164.4 kB / 0.9955 GB, free: 15.27 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.4208, allocations: 384 / 0.9955 GB, free: 15.27 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.4209, allocations: 4.375 kB / 0.9955 GB, free: 15.27 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.439e-05/0.421, allocations: 34.25 kB / 0.9956 GB, free: 15.23 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.421, allocations: 192 / 0.9956 GB, free: 15.23 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.421, allocations: 3.938 kB / 0.9956 GB, free: 15.23 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.421, allocations: 7.938 kB / 0.9956 GB, free: 15.22 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.421, allocations: 4 kB / 0.9956 GB, free: 15.21 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.4211, allocations: 153.7 kB / 0.9957 GB, free: 15.02 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 4.676e-05/0.4212, allocations: 18.61 kB / 0.9958 GB, free: 14.99 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.4212, allocations: 12.92 kB / 0.9958 GB, free: 14.97 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005299/0.4218, allocations: 0.5739 MB / 0.9963 GB, free: 14.27 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.4218, allocations: 34.56 kB / 0.9964 GB, free: 14.23 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4218, allocations: 0 / 0.9964 GB, free: 14.23 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0003914/0.4222, allocations: 262.4 kB / 0.9966 GB, free: 13.92 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.4222, allocations: 59.34 kB / 0.9967 GB, free: 13.85 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.4223, allocations: 105.8 kB / 0.9968 GB, free: 13.73 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.4223, allocations: 25.7 kB / 0.9968 GB, free: 13.7 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.4223, allocations: 84.14 kB / 0.9969 GB, free: 13.62 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.4224, allocations: 10.84 kB / 0.9969 GB, free: 13.61 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.4224, allocations: 21.7 kB / 0.9969 GB, free: 13.58 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.4225, allocations: 310.8 kB / 0.9972 GB, free: 13.27 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.4225, allocations: 12 kB / 0.9972 GB, free: 13.26 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.4225, allocations: 13.72 kB / 0.9972 GB, free: 13.24 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/0.4226, allocations: 29.7 kB / 0.9973 GB, free: 13.2 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4226, allocations: 0 / 0.9973 GB, free: 13.2 MB / 0.6857 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.326e-05/0.4227, allocations: 57.55 kB / 0.9973 GB, free: 13.14 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.4227, allocations: 4 kB / 0.9973 GB, free: 13.14 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4227, allocations: 12 kB / 0.9973 GB, free: 13.12 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.4227, allocations: 7.984 kB / 0.9973 GB, free: 13.12 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.103e-05/0.4228, allocations: 4 kB / 0.9973 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.4228, allocations: 0 / 0.9973 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.4228, allocations: 4 kB / 0.9973 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.4228, allocations: 0 / 0.9973 GB, free: 13.11 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.998e-05/0.4229, allocations: 113.8 kB / 0.9974 GB, free: 12.99 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.4229, allocations: 0 / 0.9974 GB, free: 12.99 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.712e-05/0.423, allocations: 61.11 kB / 0.9975 GB, free: 12.92 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.423, allocations: 4 kB / 0.9975 GB, free: 12.91 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.423, allocations: 0 / 0.9975 GB, free: 12.91 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.423, allocations: 81.11 kB / 0.9976 GB, free: 12.82 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.423, allocations: 0 / 0.9976 GB, free: 12.82 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.135e-05/0.4231, allocations: 0 / 0.9976 GB, free: 12.82 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.4231, allocations: 0 / 0.9976 GB, free: 12.82 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001141/0.4232, allocations: 132.9 kB / 0.9977 GB, free: 12.68 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001469/0.4234, allocations: 230.7 kB / 0.9979 GB, free: 12.44 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.124e-05/0.4234, allocations: 12.02 kB / 0.9979 GB, free: 12.43 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.4234, allocations: 79.7 kB / 0.998 GB, free: 12.35 MB / 0.6857 GB Notification: Performance of Backend: time 1.71e-07/0.4234, allocations: 0 / 0.998 GB, free: 12.35 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003577/0.4238, allocations: 119.8 kB / 0.9981 GB, free: 12.22 MB / 0.6857 GB Notification: Performance of SimCode: time 0.000308/0.4241, allocations: 0.5535 MB / 0.9987 GB, free: 11.62 MB / 0.6857 GB Notification: Performance of Templates: time 0.002926/0.4271, allocations: 1.285 MB / 0.9999 GB, free: 10.37 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)