Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 109.3 kB / 16.41 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.001141/0.001141, allocations: 190.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.313/1.313, 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.05652/0.05652, allocations: 12.05 MB / 303.3 MB, free: 3.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005351/0.0005352, allocations: 31.95 kB / 356.3 MB, free: 13.96 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.899/1.899, allocations: 272.3 MB / 0.6657 GB, free: 18.38 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 115.8 kB / 0.8936 GB, free: 15.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.5315, allocations: 109.1 MB / 1 GB, free: 8.172 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001447/0.533, allocations: 0.6149 MB / 1.001 GB, free: 7.715 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0005746/0.5336, allocations: 352.7 kB / 1.001 GB, free: 7.441 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.5336, allocations: 0 / 1.001 GB, free: 7.441 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.5337, allocations: 5 kB / 1.001 GB, free: 7.438 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 2.696e-05/0.5337, allocations: 0 / 1.001 GB, free: 7.438 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.5341, allocations: 129.2 kB / 1.001 GB, free: 7.355 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 5.753e-05/0.5342, allocations: 19.73 kB / 1.001 GB, free: 7.348 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.5343, allocations: 5.906 kB / 1.001 GB, free: 7.344 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.621e-05/0.5343, allocations: 17.94 kB / 1.001 GB, free: 7.332 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.5343, allocations: 14.77 kB / 1.001 GB, free: 7.32 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.5344, allocations: 1.438 kB / 1.001 GB, free: 7.32 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.5347, allocations: 270.3 kB / 1.002 GB, free: 7.172 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.5347, allocations: 2.625 kB / 1.002 GB, free: 7.172 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.5347, allocations: 15.23 kB / 1.002 GB, free: 7.16 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.5349, allocations: 103.2 kB / 1.002 GB, free: 7.09 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5349, allocations: 4 kB / 1.002 GB, free: 7.086 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.644e-06/0.5349, allocations: 0 / 1.002 GB, free: 7.086 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.5349, allocations: 1.125 kB / 1.002 GB, free: 7.086 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.0002955/0.5352, allocations: 361.6 kB / 1.002 GB, free: 6.703 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.5353, allocations: 12.75 kB / 1.002 GB, free: 6.699 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.5353, allocations: 7.75 kB / 1.002 GB, free: 6.695 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.467e-05/0.5354, allocations: 161.8 kB / 1.002 GB, free: 6.5 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.5354, allocations: 1.312 kB / 1.002 GB, free: 6.5 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.5354, allocations: 11.69 kB / 1.002 GB, free: 6.492 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.391e-05/0.5355, allocations: 52.92 kB / 1.002 GB, free: 6.445 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5356, allocations: 192 / 1.002 GB, free: 6.445 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.5356, allocations: 5.031 kB / 1.002 GB, free: 6.441 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.5356, allocations: 1.219 kB / 1.002 GB, free: 6.441 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.674e-05/0.5356, allocations: 22.72 kB / 1.002 GB, free: 6.43 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.5358, allocations: 164.8 kB / 1.002 GB, free: 6.23 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.5359, allocations: 59.16 kB / 1.003 GB, free: 6.188 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.5359, allocations: 42.8 kB / 1.003 GB, free: 6.156 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005383/0.5364, allocations: 455.6 kB / 1.003 GB, free: 5.664 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.5365, allocations: 35.75 kB / 1.003 GB, free: 5.621 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.5365, allocations: 4 kB / 1.003 GB, free: 5.617 MB / 0.6857 GB Notification: Performance of matching and sorting (n=11): time 0.001079/0.5376, allocations: 0.591 MB / 1.004 GB, free: 5.07 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.218e-05/0.5376, allocations: 52.69 kB / 1.004 GB, free: 5.008 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.197e-05/0.5376, allocations: 97.58 kB / 1.004 GB, free: 4.906 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.5377, allocations: 30.92 kB / 1.004 GB, free: 4.871 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 1.422e-05/0.5377, allocations: 85.33 kB / 1.004 GB, free: 4.785 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.5377, allocations: 43.33 kB / 1.004 GB, free: 4.746 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.5377, allocations: 26.48 kB / 1.004 GB, free: 4.723 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.5378, allocations: 316.1 kB / 1.004 GB, free: 4.406 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.5378, allocations: 20.64 kB / 1.004 GB, free: 4.398 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-05/0.5379, allocations: 25.17 kB / 1.004 GB, free: 4.387 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.507e-05/0.538, allocations: 61.05 kB / 1.004 GB, free: 4.355 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.538, allocations: 4 kB / 1.004 GB, free: 4.352 MB / 0.6857 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001508/0.5381, allocations: 91.41 kB / 1.004 GB, free: 4.297 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5381, allocations: 4.656 kB / 1.004 GB, free: 4.297 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5382, allocations: 0.9688 kB / 1.004 GB, free: 4.297 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5382, allocations: 1.188 kB / 1.004 GB, free: 4.297 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.5383, allocations: 25.36 kB / 1.004 GB, free: 4.289 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5383, allocations: 1.156 kB / 1.004 GB, free: 4.289 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.5383, allocations: 4 kB / 1.004 GB, free: 4.285 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.5383, allocations: 7.453 kB / 1.004 GB, free: 4.281 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.405e-05/0.5384, allocations: 120.8 kB / 1.005 GB, free: 4.156 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.5384, allocations: 14.94 kB / 1.005 GB, free: 4.145 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.5386, allocations: 103.5 kB / 1.005 GB, free: 4.07 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.5386, allocations: 96 / 1.005 GB, free: 4.07 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5386, allocations: 5.188 kB / 1.005 GB, free: 4.066 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.5387, allocations: 83.38 kB / 1.005 GB, free: 3.969 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.5387, allocations: 6.062 kB / 1.005 GB, free: 3.965 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/0.5387, allocations: 5.266 kB / 1.005 GB, free: 3.961 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.5388, allocations: 3.812 kB / 1.005 GB, free: 3.961 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001843/0.539, allocations: 192 kB / 1.005 GB, free: 3.805 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002284/0.5392, allocations: 291.8 kB / 1.005 GB, free: 3.555 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.521e-05/0.5393, allocations: 34.67 kB / 1.005 GB, free: 3.535 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.658e-05/0.5393, allocations: 81.42 kB / 1.005 GB, free: 3.457 MB / 0.6857 GB Notification: Performance of Backend: time 5.01e-07/0.5393, allocations: 1.062 kB / 1.005 GB, free: 3.457 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004706/0.5398, allocations: 161.5 kB / 1.006 GB, free: 3.359 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002728/0.5401, allocations: 0.6005 MB / 1.006 GB, free: 2.742 MB / 0.6857 GB Notification: Performance of Templates: time 0.003677/0.5438, allocations: 1.601 MB / 1.008 GB, free: 1.945 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)