Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 114 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.001685/0.001685, allocations: 183.9 kB / 17.35 MB, free: 5.711 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.377/1.377, 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.05699/0.05699, 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.0004859/0.0004861, allocations: 19.97 kB / 356.3 MB, free: 13.97 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.518/1.518, allocations: 268.2 MB / 0.6617 GB, free: 2.574 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 115.8 kB / 0.8881 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5268, allocations: 108.4 MB / 0.9939 GB, free: 1.109 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001952/0.5288, allocations: 0.5885 MB / 0.9945 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0007332/0.5295, allocations: 350.7 kB / 0.9948 GB, free: 184 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.5296, allocations: 0 / 0.9948 GB, free: 184 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.5296, allocations: 0 / 0.9948 GB, free: 184 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 2.121e-05/0.5296, allocations: 0 / 0.9948 GB, free: 184 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.5302, allocations: 126.7 kB / 0.9949 GB, free: 60 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 5.377e-05/0.5303, allocations: 4 kB / 0.9949 GB, free: 56 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.5303, allocations: 7.984 kB / 0.9949 GB, free: 48 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 2.383e-05/0.5304, allocations: 7.984 kB / 0.9949 GB, free: 40 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.5304, allocations: 7.938 kB / 0.9949 GB, free: 32 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.5305, allocations: 0 / 0.9949 GB, free: 32 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004421/0.5309, allocations: 275.6 kB / 0.9952 GB, free: 15.76 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.5309, allocations: 0 / 0.9952 GB, free: 15.76 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.531, allocations: 0 / 0.9952 GB, free: 15.76 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.5312, allocations: 91.78 kB / 0.9953 GB, free: 15.67 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5312, allocations: 8 kB / 0.9953 GB, free: 15.66 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5312, allocations: 0 / 0.9953 GB, free: 15.66 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.5312, allocations: 0 / 0.9953 GB, free: 15.66 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.0004236/0.5316, allocations: 347.4 kB / 0.9956 GB, free: 15.28 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.5317, allocations: 8.031 kB / 0.9956 GB, free: 15.27 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.5318, allocations: 8.844 kB / 0.9956 GB, free: 15.26 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.5319, allocations: 164.3 kB / 0.9958 GB, free: 15.06 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.5319, allocations: 4.375 kB / 0.9958 GB, free: 15.06 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.5319, allocations: 384 / 0.9958 GB, free: 15.06 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.55e-05/0.532, allocations: 42.25 kB / 0.9958 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.532, allocations: 192 / 0.9958 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.5321, allocations: 3.938 kB / 0.9958 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.5321, allocations: 0 / 0.9958 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.338e-05/0.5321, allocations: 4 kB / 0.9958 GB, free: 15 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.5323, allocations: 153.7 kB / 0.996 GB, free: 14.8 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 4.344e-05/0.5323, allocations: 22.52 kB / 0.996 GB, free: 14.77 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.5323, allocations: 8.859 kB / 0.996 GB, free: 14.76 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006942/0.533, allocations: 465.5 kB / 0.9965 GB, free: 14.21 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.5331, allocations: 34.56 kB / 0.9965 GB, free: 14.17 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 2.435e-06/0.5331, allocations: 0 / 0.9965 GB, free: 14.17 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0005429/0.5336, allocations: 262.2 kB / 0.9968 GB, free: 13.86 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.5337, allocations: 51.41 kB / 0.9968 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.5337, allocations: 89.86 kB / 0.9969 GB, free: 13.7 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.5338, allocations: 29.7 kB / 0.9969 GB, free: 13.67 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.5338, allocations: 84.48 kB / 0.997 GB, free: 13.58 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.5338, allocations: 7.906 kB / 0.997 GB, free: 13.57 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.5339, allocations: 17.7 kB / 0.997 GB, free: 13.55 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.534, allocations: 314.8 kB / 0.9973 GB, free: 13.23 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.534, allocations: 4 kB / 0.9973 GB, free: 13.23 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.988e-05/0.534, allocations: 17.7 kB / 0.9973 GB, free: 13.21 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.185e-05/0.5341, allocations: 37.66 kB / 0.9974 GB, free: 13.16 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5341, allocations: 0 / 0.9974 GB, free: 13.16 MB / 0.6857 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001044/0.5342, allocations: 53.62 kB / 0.9974 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5342, allocations: 4 kB / 0.9974 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5343, allocations: 4.078 kB / 0.9974 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5343, allocations: 0 / 0.9974 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.5343, allocations: 11.98 kB / 0.9974 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5344, allocations: 0 / 0.9974 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.5344, allocations: 0 / 0.9974 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.5344, allocations: 4.062 kB / 0.9975 GB, free: 13.08 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 6.46e-05/0.5345, allocations: 113.8 kB / 0.9976 GB, free: 12.96 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.5345, allocations: 4 kB / 0.9976 GB, free: 12.96 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.5346, allocations: 64.95 kB / 0.9976 GB, free: 12.88 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5347, allocations: 0 / 0.9976 GB, free: 12.88 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5347, allocations: 0 / 0.9976 GB, free: 12.88 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.5347, allocations: 77.11 kB / 0.9977 GB, free: 12.79 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.5347, allocations: 0 / 0.9977 GB, free: 12.79 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.245e-05/0.5348, allocations: 8 kB / 0.9977 GB, free: 12.78 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.5348, allocations: 3.984 kB / 0.9977 GB, free: 12.78 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001412/0.5349, allocations: 121 kB / 0.9978 GB, free: 12.65 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002003/0.5352, allocations: 234.7 kB / 0.998 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.569e-05/0.5352, allocations: 7.984 kB / 0.9981 GB, free: 12.4 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.408e-05/0.5352, allocations: 79.34 kB / 0.9981 GB, free: 12.32 MB / 0.6857 GB Notification: Performance of Backend: time 6.01e-07/0.5352, allocations: 0 / 0.9981 GB, free: 12.32 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.5357, allocations: 143.3 kB / 0.9983 GB, free: 12.18 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004055/0.5361, allocations: 0.5571 MB / 0.9988 GB, free: 11.57 MB / 0.6857 GB Notification: Performance of Templates: time 0.003952/0.5401, allocations: 1.258 MB / 1 GB, free: 10.32 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)