Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001287/0.001288, allocations: 109 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.001239/0.001239, allocations: 186.7 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.36/1.36, allocations: 222.9 MB / 241.1 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.06001/0.06001, allocations: 12.05 MB / 303.3 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005752/0.0005752, allocations: 23.95 kB / 356.3 MB, free: 13.99 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.983/1.983, allocations: 272.3 MB / 0.6657 GB, free: 18.37 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 111.8 kB / 0.8936 GB, free: 15.03 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5331, allocations: 109.2 MB / 1 GB, free: 8.176 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001511/0.5346, allocations: 0.5782 MB / 1.001 GB, free: 7.75 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0005225/0.5351, allocations: 356.3 kB / 1.001 GB, free: 7.473 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.5352, allocations: 0 / 1.001 GB, free: 7.473 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.5352, allocations: 7.875 kB / 1.001 GB, free: 7.465 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 1.571e-05/0.5352, allocations: 1.469 kB / 1.001 GB, free: 7.465 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.5356, allocations: 118.5 kB / 1.001 GB, free: 7.395 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 4.789e-05/0.5357, allocations: 4.469 kB / 1.001 GB, free: 7.395 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.5357, allocations: 5.516 kB / 1.001 GB, free: 7.391 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.5358, allocations: 2.844 kB / 1.001 GB, free: 7.391 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.5358, allocations: 13.22 kB / 1.001 GB, free: 7.379 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.5358, allocations: 1.469 kB / 1.001 GB, free: 7.379 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.5362, allocations: 273.6 kB / 1.001 GB, free: 7.227 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.5362, allocations: 8.891 kB / 1.002 GB, free: 7.219 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.5362, allocations: 2.188 kB / 1.002 GB, free: 7.219 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.5364, allocations: 88.89 kB / 1.002 GB, free: 7.16 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5364, allocations: 0 / 1.002 GB, free: 7.16 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5364, allocations: 0 / 1.002 GB, free: 7.16 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.5364, allocations: 0 / 1.002 GB, free: 7.16 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.000261/0.5367, allocations: 347.1 kB / 1.002 GB, free: 6.785 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5367, allocations: 13.45 kB / 1.002 GB, free: 6.781 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.5368, allocations: 5.938 kB / 1.002 GB, free: 6.777 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.664e-05/0.5369, allocations: 165.5 kB / 1.002 GB, free: 6.578 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.5369, allocations: 384 / 1.002 GB, free: 6.578 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.5369, allocations: 2.719 kB / 1.002 GB, free: 6.578 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.414e-05/0.537, allocations: 37.84 kB / 1.002 GB, free: 6.539 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.537, allocations: 192 / 1.002 GB, free: 6.539 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.537, allocations: 5.156 kB / 1.002 GB, free: 6.535 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.537, allocations: 0 / 1.002 GB, free: 6.535 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.537, allocations: 10.22 kB / 1.002 GB, free: 6.527 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.5371, allocations: 153.2 kB / 1.002 GB, free: 6.332 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 3.526e-05/0.5372, allocations: 19.05 kB / 1.002 GB, free: 6.309 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.5372, allocations: 7.297 kB / 1.002 GB, free: 6.301 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005631/0.5378, allocations: 464.1 kB / 1.003 GB, free: 5.801 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.5378, allocations: 35.73 kB / 1.003 GB, free: 5.758 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.5378, allocations: 0 / 1.003 GB, free: 5.758 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.000447/0.5383, allocations: 255 kB / 1.003 GB, free: 5.484 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.489e-05/0.5383, allocations: 52.56 kB / 1.003 GB, free: 5.422 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.901e-05/0.5383, allocations: 96.11 kB / 1.003 GB, free: 5.32 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.5384, allocations: 26.83 kB / 1.003 GB, free: 5.289 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 1.618e-05/0.5384, allocations: 84.08 kB / 1.003 GB, free: 5.203 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.5384, allocations: 10.22 kB / 1.003 GB, free: 5.195 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.5384, allocations: 17.17 kB / 1.003 GB, free: 5.176 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.5385, allocations: 324.1 kB / 1.004 GB, free: 4.852 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.5385, allocations: 3.438 kB / 1.004 GB, free: 4.852 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.5386, allocations: 22.45 kB / 1.004 GB, free: 4.828 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.087e-05/0.5386, allocations: 23.09 kB / 1.004 GB, free: 4.809 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5386, allocations: 0 / 1.004 GB, free: 4.809 MB / 0.6857 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.765e-05/0.5387, allocations: 53.58 kB / 1.004 GB, free: 4.766 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5387, allocations: 13.98 kB / 1.004 GB, free: 4.758 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5387, allocations: 3.938 kB / 1.004 GB, free: 4.754 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5388, allocations: 1.156 kB / 1.004 GB, free: 4.754 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.5388, allocations: 5.781 kB / 1.004 GB, free: 4.754 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.5388, allocations: 5.203 kB / 1.004 GB, free: 4.75 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.5389, allocations: 1.125 kB / 1.004 GB, free: 4.75 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.5389, allocations: 1.281 kB / 1.004 GB, free: 4.75 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 4.459e-05/0.5389, allocations: 108.3 kB / 1.004 GB, free: 4.637 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.5389, allocations: 1.062 kB / 1.004 GB, free: 4.637 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.5391, allocations: 73.39 kB / 1.004 GB, free: 4.566 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5391, allocations: 0 / 1.004 GB, free: 4.566 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5391, allocations: 0 / 1.004 GB, free: 4.566 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.5391, allocations: 78.17 kB / 1.004 GB, free: 4.473 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.5391, allocations: 1.156 kB / 1.004 GB, free: 4.473 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.5392, allocations: 5.125 kB / 1.004 GB, free: 4.469 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.5392, allocations: 5.109 kB / 1.004 GB, free: 4.465 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001144/0.5393, allocations: 133.5 kB / 1.004 GB, free: 4.34 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001408/0.5394, allocations: 224.8 kB / 1.004 GB, free: 4.121 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.564e-05/0.5395, allocations: 11.89 kB / 1.004 GB, free: 4.113 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.504e-05/0.5395, allocations: 77.72 kB / 1.004 GB, free: 4.039 MB / 0.6857 GB Notification: Performance of Backend: time 1.61e-07/0.5395, allocations: 0 / 1.004 GB, free: 4.039 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.54, allocations: 143.8 kB / 1.005 GB, free: 3.941 MB / 0.6857 GB Notification: Performance of SimCode: time 0.000261/0.5402, allocations: 0.556 MB / 1.005 GB, free: 3.352 MB / 0.6857 GB Notification: Performance of Templates: time 0.003265/0.5435, allocations: 1.252 MB / 1.006 GB, free: 2.715 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)